Thy word have I hid in mine heart, that I might not sin against thee. Psalms 119:11 KJV
The Word of God must dominate our thought life or we will continually find ourselves falling short (sin) in our relationship with the Lord.
Casting down imaginations, and every high thing that exalteth itself against the knowledge of God, and bringing into captivity every thought to the obedience of Christ; 2 Corinthians 10:5 KJV
When His Word holds dominion in us we walk in harmony with God. Then, and only then, will we yield to His plan and purpose for our lives and enjoy the promise given to Jeremiah:
For I know the thoughts that I think toward you, saith the Lord , thoughts of peace, and not of evil, to give you an expected end. Jeremiah 29:11 KJV