Verses 1 to 6 speak of God's knowledge. The Lord has searched David and known him; he knows when he sits down and when he rises, discerns his thoughts from afar, knows his ways, and before a word is on his tongue, the Lord already knows it completely. He hems him in behind and before and lays his hand on him. Such knowledge is too wonderful for David.
Verses 7 to 12 speak of his presence. Where shall he go from his Spirit, and where shall he flee from his presence? If he ascends to heaven, God is there; if he makes his bed in Sheol, he is there too; if he takes the wings of the morning and dwells in the uttermost parts of the sea, even there his hand will lead him. Even if he says that darkness will cover him, to God the night is as bright as the day.
Verses 13 to 18 reflect on the origin of life. God formed his inward parts and knit him together in his mother's womb. He praises him because he is fearfully and wonderfully made. His frame was not hidden from the Lord when he was being made in secret, and God's eyes saw his unformed substance. His thoughts are more than the sand.
Verses 19 to 22 ask God to slay the wicked, and David declares that he hates those who hate the Lord. Verses 23 and 24 end with a petition: search me, O God, and know my heart; try me and know my thoughts; see if there is any grievous way in me, and lead me in the way everlasting.