Genesis 8:21yetser
And the LORD smelled a sweet savour; and the LORD said in his heart, I will not again curse the ground any more for man's sake; for the imagination of man's heart is evil from his youth; neither will I again smite any more every thing living, as I have done.
After the flood, God says man's heart-imagination is evil from youth.
Deuteronomy 29:19sherirut
And it come to pass, when he heareth the words of this curse, that he bless himself in his heart, saying, I shall have peace, though I walk in the imagination of mine heart, to add drunkenness to thirst:
Warns against someone who expects peace while following his own heart.
Jeremiah 7:24sherirut
But they hearkened not, nor inclined their ear, but walked in the counsels and in the imagination of their evil heart, and went backward, and not forward.
Israel refused to listen and went backward, following their evil heart.
Jeremiah 13:10sherirut
This evil people, which refuse to hear my words, which walk in the imagination of their heart, and walk after other gods, to serve them, and to worship them, shall even be as this girdle, which is good for nothing.
Walking in heart's imagination is tied to serving other gods.
1 Chronicles 29:18yetser
O LORD God of Abraham, Isaac, and of Israel, our fathers, keep this for ever in the imagination of the thoughts of the heart of thy people, and prepare their heart unto thee:
David prays God keeps devotion in his people's inner thoughts.