Psalm 139 is the psalm about being known. It says that God has searched you, knows when you sit and stand, reads your thoughts from a distance, and knows a word before it reaches your tongue. It says there is nowhere you can go where he is not. It says he knit you together in your mother's womb and that you are "fearfully and wonderfully made." And then, after all that intimacy, it turns into a prayer for God to kill the wicked, before ending with the request that has been prayed by millions: "Search me, O God, and know my heart."

This guide walks through the psalm in its four movements, explains its most famous lines, deals honestly with verses 19 to 22, and looks at how it has been used. Quotations are from the Berean Standard Bible with the King James Version where its wording is the familiar one; every reference links to the full text.

The shape of the psalm

The title is "For the choirmaster. A Psalm of David." It has 24 verses in four stanzas of six, and each stanza is about one thing God is:

  1. Verses 1–6: God knows everything about me (omniscience).
  2. Verses 7–12: God is everywhere I could go (omnipresence).
  3. Verses 13–18: God made me (creation).
  4. Verses 19–24: God is holy, and I ask him to judge and to search me.

The first three stanzas are among the most loved lines in the Psalter. The fourth is the one people skip. The psalm makes more sense when you see that the fourth is where the first three were going.

Read it whole here: Psalm 139 in the Berean Standard Bible or in the King James Version.

Verses 1–6: Searched and known

O LORD, You have searched me and known me. You know when I sit and when I rise; You understand my thoughts from afar. You search out my path and my lying down; You are aware of all my ways. Even before a word is on my tongue, You know all about it, O LORD.

Psalm 139:1–4

The verb "searched" is the word for digging in a mine or exploring a land. God has not glanced at David; he has excavated him. Sitting and rising, going out and lying down, are the Hebrew way of saying "everything, all day": there is no part of the day that is off the record. The King James puts verse 2 memorably: "Thou knowest my downsitting and mine uprising" (Psalm 139:2, KJV).

Verse 4 is the sharpest: God knows the word before it is spoken. Verse 5 says God has "hemmed me in behind and before" and laid his hand on me, an image that can feel like protection or like being surrounded, and the psalm means both. Verse 6 gives David's reaction: "Such knowledge is too wonderful for me, too lofty for me to attain." He is not comforted yet. He is overwhelmed.

Verses 7–12: Nowhere to go

Where can I go to escape Your Spirit? Where can I flee from Your presence? If I ascend to the heavens, You are there; if I make my bed in Sheol, You are there. If I rise on the wings of the dawn, if I settle by the farthest sea, even there Your hand will guide me; Your right hand will hold me fast.

Psalm 139:7–10

The King James wording is the one many people carry: "Whither shall I go from thy spirit? or whither shall I flee from thy presence?" (Psalm 139:7, KJV). Notice that David's first instinct, after realizing how completely he is known, is to think about running. That is an honest reaction, and the psalm does not scold it. It simply shows that there is no exit. Up to heaven, down to the grave, east to the dawn, west to the farthest sea: God is already there.

Then the tone shifts inside the stanza. In verse 10 the hand that hems him in becomes the hand that guides and holds him. Verses 11 and 12 take the last hiding place, darkness, and remove it: "even the darkness is not dark to You, but the night shines like the day." For someone who is afraid, that is the most comforting line in the psalm. For someone who is hiding, it is the most exposing. The psalm is written for both.

Verses 13–18: Fearfully and wonderfully made

For You formed my inmost being; You knit me together in my mother's womb. I praise You, for I am fearfully and wonderfully made. Marvelous are Your works, and I know this very well.

Psalm 139:13–14

This is the stanza most people know, and the King James phrase is the one that has entered the language: "I will praise thee; for I am fearfully and wonderfully made" (Psalm 139:14, KJV). "Fearfully" does not mean frightened; it means in a way that inspires awe, the same root as "the fear of the LORD." "Knit together" is the language of weaving, and verse 15 continues it: "woven together in the depths of the earth," a poetic way of saying the womb, the hidden place.

The reason God's knowledge is not terrifying in the end is given here: the one who knows you completely is the one who made you deliberately. Job says the same thing from inside his suffering, "You clothed me with skin and flesh, and knit me together with bones and sinews" (Job 10:11), and God tells Jeremiah, "Before I formed you in the womb I knew you" (Jeremiah 1:5).

Verse 16 is the most difficult line in the psalm to translate. The Hebrew says God's eyes saw "my unformed substance," a word used nowhere else in the Bible, and that in his book "all of them" were written, "days" being supplied by most translators: "all my days were written in Your book and ordained for me before one of them came to be." Readers have taken it as God knowing the length of a life in advance, or as God planning a life's shape, and it has fed a long debate about how much is fixed. What the verse certainly says is that no day of your life is a surprise to God.

Verses 17 and 18 end the stanza in wonder: God's thoughts toward David outnumber the sand, "and when I awake, I am still with You."

Verses 19–22: The verses people skip

O God, that You would slay the wicked, away from me, you bloodthirsty men, who speak of You deceitfully; Your enemies take Your name in vain. Do I not hate those who hate You, O LORD, and detest those who rise against You? I hate them with perfect hatred; I count them as my enemies.

Psalm 139:19–22

After eighteen verses of intimacy, this is a shock, and many lectionaries and greeting cards simply leave it out. It should not be left out, for three reasons.

First, it is the psalm's turn from meditation to reality. David does not live in a quiet room with God; he lives in a world with bloodthirsty men in it, and the God who sees everything sees them too. The psalm's confidence that nothing is hidden from God cuts both ways.

Second, David does not say he will kill anyone. He asks God to act, which is the same move Paul makes in Romans 12:19, "leave room for God's wrath." Handing vengeance to God is how the Bible keeps it out of human hands.

Third, "perfect hatred" is hatred of what God hates, not personal spite; the enemies are defined as "those who hate You." Christians read this stanza in the light of Jesus' command to love enemies, and most conclude that the hatred of evil remains while the prayer for the enemy's destruction gives way to prayer for his repentance. But the stanza still has a job: it makes verses 23 and 24 honest.

Verses 23–24: Search me

Search me, O God, and know my heart; test me and know my concerns. See if there is any offensive way in me; lead me in the way everlasting.

Psalm 139:23–24

In the King James Version: "Search me, O God, and know my heart: try me, and know my thoughts: And see if there be any wicked way in me, and lead me in the way everlasting" (Psalm 139:23–24, KJV).

The psalm ends where it began. Verse 1 said "You have searched me"; verse 23 says "Search me." What was a fact has become a request. That is the whole movement of Psalm 139: from being known, which can feel like exposure, to asking to be known, which is trust. And the request comes straight after David has been talking about the wicked, which is not an accident. Having asked God to deal with wickedness out there, he asks God to look for it in here. Anyone who prays verses 19 to 22 honestly has to pray 23 and 24 next.

What Psalm 139 means

Put together, the psalm says four things, in order. God knows you completely. There is nowhere you can go to escape that. The reason it is good news is that the one who knows you is the one who made you, on purpose, with care. And the right response is not to hide but to ask him to keep looking, and to lead.

That sequence is why the psalm is read at so many different moments. It is read at baptisms and births because of verses 13 to 16. It is read at funerals because of verses 8 to 10 and 18. It is prayed in confession because of verses 23 and 24. It is quoted in debates about the unborn because of verse 13, and in discussions of God's omnipresence because of verse 7. Its best-known lines have been set to music by composers from every century.

How to use Psalm 139

  • Read it whole, in order. The psalm is an argument, and its comfort depends on reaching verse 13 after verse 7.
  • Pray verses 23 and 24 at the end of the day. They are the Bible's own examination of conscience, in two sentences.
  • Give verse 14 to someone who doubts their worth. "Fearfully and wonderfully made" is not a compliment; it is a fact about how they were made. See how to memorize Bible verses.
  • Read it beside Psalm 23 and Psalm 91. Together they are the Bible's three great psalms of God's care: the shepherd, the shelter, and the one who knows you. See our guides to Psalm 23 and Psalm 91.

FAQ

What is the main message of Psalm 139?

That God knows you completely, is present everywhere you go, made you deliberately, and can therefore be trusted with the search of your heart. The psalm moves from "You have searched me" in verse 1 to "Search me" in verse 23.

What does "fearfully and wonderfully made" mean?

Verse 14 says that the human being is made in a way that inspires awe ("fearfully," from the same root as "the fear of the LORD") and wonder. It is a statement about the care and skill of the Maker, and it is the Bible's foundation for the dignity of every person, whatever they think of themselves.

Who wrote Psalm 139?

The title attributes it to David. Some scholars note that its Hebrew has features of a later period and date its final form after the exile, but the psalm has been read as David's since ancient times and fits his voice: a man on the run who knew there was no hiding from God.

Why does Psalm 139 talk about hating the wicked?

Verses 19 to 22 turn from meditation to the real world, where God's enemies exist, and David asks God, not himself, to deal with them. The "perfect hatred" is hatred of what God hates. The stanza leads directly into the prayer "Search me," in which David asks God to look for wickedness in his own heart as well.

What does "all my days were written in Your book" mean?

Verse 16 says that God saw David before he was formed and that his days were written down in advance. The Hebrew is difficult, but the plain sense is that God knew the whole of David's life before it began. Christians differ on how much this fixes; all agree it means no day of your life takes God by surprise.