John Gills Exposition of the Bible Commentary - Psalms 139:17
How precious also are thy thoughts unto me, O God !.... The word F18 יקרו "difficiles", Cocceius; "quam rarae"; so some in Vatablus. signifies that which is scarce and rare, and not to be attained and enjoyed; see 1 Samuel 3:1 ; the thoughts and counsels of God are impenetrable and unsearchable; he knows our thoughts, as Aben Ezra observes, but we do not know his, Psalm 139:2 ; as well as it likewise signifies the worth and value of them; God's thoughts are infinitely beyond... read more
Matthew Henry's Complete Commentary - Psalms 139:17-24
Here the psalmist makes application of the doctrine of God's omniscience, divers ways. I. He acknowledges, with wonder and thankfulness, the care God had taken of him all his days, Ps. 139:17, 18. God, who knew him, thought of him, and his thoughts towards him were thoughts of love, thought of good, and not of evil, Jer. 29:11. God's omniscience, which might justly have watched over us to do us hurt, has been employed for us, and has watched over us to do us good, Jer. 31:28. God's counsels... read more