Proverbs 3:5-6 in the King James Version reads:
5 Trust in the LORD with all thine heart; and lean not unto thine own understanding. 6 In all thy ways acknowledge him, and he shall direct thy paths.
These two verses appear in the opening section of Proverbs 3, a chapter of counsel attributed to Solomon. Read it in context at Proverbs 3:5-6, or the full chapter at Proverbs 3.