You, Solomon my son, know the God of your father, and serve him with a perfect heart and with a willing mind; for Yahweh searches all hearts, and understands all the imaginations of the thoughts: if you seek him, he will be found of you; but if you forsake him, he will cast you off forever.
and understandeth all the imaginations of the thought; not only the thoughts of the heart, when regularly formed and ranged in order, hut even the very beginning of them, the first motions of the mind, and before they are well formed, see Genesis 6:5