Psalms 139
Psalm 139 is one of the most personal prayers in all of Scripture - a single soul thinking out loud about the fact that he is completely known by God. It opens not with a request but with a discovery: O LORD, thou hast searched me, and known me (v. 1). David is not informing God of anything; he is marvelling that God already knows it all - his sitting and his rising, his path and his rest, the thought he has barely formed, the word still on his tongue.
Such knowledge is too wonderful for me; it is high, I cannot attain unto it (v. 6). The psalm is the long unfolding of that one staggering fact, turned over and over until it stops feeling like exposure and starts feeling like home.
The psalm moves through four clear movements. First, the searching God who knows him through and through (vv. 1-6). Then a thought experiment: is there anywhere this God is not? David imagines fleeing to heaven, to the depths, to the far sea, into the dark - and finds God already there, not to corner him but to hold him: even there shall thy hand lead me, and thy right hand shall hold me (v. 10).
Then the wonder deepens as he traces that knowledge back to its source: God knew him because God made him, weaving him in secret before he drew breath - I am fearfully and wonderfully made (v. 14). And finally the psalm turns fierce against those who hate God (vv. 19-22), only to swing the same searching light back onto the psalmist's own heart in its closing prayer.
What makes Psalm 139 so disarming is the way it refuses to let the knowledge of God stay cold. Being completely seen could be the most frightening thing imaginable; here it becomes the deepest comfort, because the One doing the seeing is the One who knit the seen thing together. And the psalm is brave enough to follow its own logic to the end. Having asked God to search the wicked, David does not exempt himself: 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 (vv. 23-24).
The prayer that began as awe at being known ends as a willing surrender to it - an open invitation for God to examine him completely and lead him home.
Tap any highlighted phrase to jump to the commentary that unpacks it.

People in this chapter
Psalm 139:1-6 · To the chief Musician, A Psalm of DavidThou Hast Searched Me, and Known Me
1O LORD, thou hast searched me, and known me. 2Thou knowest my downsitting and mine uprising, thou understandest my thought afar off. 3Thou compassest my path and my lying down, and art acquainted with all my ways. 4For there is not a word in my tongue, but, lo, O LORD, thou knowest it altogether. 5Thou hast beset me behind and before, and laid thine hand upon me. 6Such knowledge is too wonderful for me; it is high, I cannot attain unto it.
The psalm opens not with a petition but with a recognition: O LORD, thou hast searched me, and known me (v. 1). The verb is strong - not a passing glance but a thorough investigation, the kind of probing that turns a thing over until nothing is left concealed. And the result is the plainest verb in the language: known. David is not telling God anything; he is awed that God already has it all. The next lines spell out how total the knowing is.
God knows his downsitting and his uprising - the whole arc of an ordinary day, the moment he drops into a chair and the moment he gets back up. God understandest his thought afar off - a thought caught while it is still distant, half-formed, before it has even reached the surface of the mind. God is acquainted with all his ways - not just where he walks but how he walks, the habits and patterns that make up a life.
This is knowledge with no gaps in it. And the remarkable thing about how David frames it is that he never once sounds cornered. He sounds like a man who has discovered that the most complete attention in the universe is already trained on him.
Verse 4 presses the knowledge to its most intimate edge: For there is not a word in my tongue, but, lo, O LORD, thou knowest it altogether. This is knowledge that runs ahead of speech. Before the word leaves the tongue - while it is still only an intention, a sentence forming somewhere behind the lips - God already knows it, and knows it altogether, completely, in full. Most of what other people know of us is what we choose to let out: the words we decide to say, the face we decide to show.
God's knowledge is of a different order. It does not wait for us to reveal ourselves; it precedes the revealing. The little word lo - an old way of saying look, behold - carries David's astonishment. He keeps stopping to point at the wonder of it: look - even this, even the unspoken word, You already know. There is no editing oneself before God, no managing the impression, because He is reading the sentence before it is written.
David gathers the whole movement into one image of encirclement: Thou hast beset me behind and before, and laid thine hand upon me (v. 5). To be beset is to be hemmed in, surrounded on every side - God before him and God behind him, no angle uncovered, no exit. And then the gesture that interprets the whole: and laid thine hand upon me. A hand laid on someone can mean arrest, but it can also mean blessing, ownership, protection - the hand a parent rests on a child, the hand that steadies and claims.
Everything in the psalm tilts this image toward the gentle reading. David is not describing a trap closing; he is describing being held. And then comes his honest confession of the limit of his own mind: Such knowledge is too wonderful for me; it is high, I cannot attain unto it (v. 6). He does not pretend to comprehend it. A knowledge this complete is simply beyond him - too high to climb up to, too vast to take in.
He can only stand under it and call it wonderful. There is a kind of understanding that consists precisely in admitting a thing is past understanding, and worshipping anyway.
He did not need to be told about people; He already knew. Again and again He answers the thought a man has not yet voiced, names the secret a woman thought safely hidden, sees through the question to the heart behind it. And at the end, when Peter has denied Him and is asked a third time whether he loves Him, the broken disciple does not protest his sincerity - he appeals instead to the very thing this psalm celebrates: Lord, thou knowest all things; thou knowest that I love thee (John 21:17).
It is the most freeing place a person can land: resting his case on the One who already sees the bottom of him. The searching knowledge David found too wonderful to grasp came near enough to be looked in the eye - and to a failing man it felt, in the end, like the only safe ground there was.
The reason is the next movement of the psalm: the God who knows him is the God who made him. You are not being examined by a stranger looking for a reason to turn away. You are known by the One who knit you together and has never once flinched at what He found. So the practice is simple, and it cuts against every instinct to hide: stop editing. Bring God the unsaid word, the thought you would not admit to anyone - the parts of verse 4 you would rather He not know - and remember that He knows them altogether already, and laid His hand on you anyway.
Being fully known and not turned away is not the thing to dread. It is the thing the whole heart is starving for.
Psalm 139:7-12Whither Shall I Flee from Thy Presence
7Whither shall I go from thy spirit? or whither shall I flee from thy presence? 8If I ascend up into heaven, thou art there: if I make my bed in hell, behold, thou art there. 9If I take the wings of the morning, and dwell in the uttermost parts of the sea; 10Even there shall thy hand lead me, and thy right hand shall hold me. 11If I say, Surely the darkness shall cover me; even the night shall be light about me. 12Yea, the darkness hideth not from thee; but the night shineth as the day: the darkness and the light are both alike to thee.
Having marvelled at a God who knows everything, David asks the natural next question - and asks it as a kind of experiment: Whither shall I go from thy spirit? or whither shall I flee from thy presence? (v. 7). If God knows me this completely, is there anywhere I could go to be unobserved, unknown, alone? He runs the thought to its furthest extremes. If I ascend up into heaven - the highest height - thou art there. If I make my bed in hell - the deepest depth, the realm of the dead - behold, thou art there. Up and down, the two poles of the universe, and God fills them both.
Then the horizontal: the wings of the morning - the speed of the dawn racing across the sky - carrying him to the uttermost parts of the sea, the far western edge of the known world. And there, at the literal end of the earth, the experiment fails again. The question of verse 7 expects the answer nowhere, and that is exactly what David finds. There is no coordinate, no altitude, no distance that is outside the presence of God.
The flight is impossible - and as the next verse will show, that impossibility is the best news in the psalm.
Watch the verbs David chooses for the moment the fugitive is overtaken: Even there shall thy hand lead me, and thy right hand shall hold me (v. 10). This is the hinge of the whole movement, and everything depends on those two words. He could have written catch me, seize me, trap me - the language of a manhunt ending. Instead he writes lead and hold. The hand that finds him at the end of the earth is not the hand of an arresting officer; it is the hand of a guide and a guardian.
To be led is to be shown the way; to be held by the right hand - the hand of strength and favour - is to be kept, supported, refused to be let go. So the inescapable presence, which began as something David tested as if it might be a problem, turns out to be the deepest possible security. He cannot get away from God - and thank God for that, because everywhere he might run, God is already there ahead of him, hand outstretched not to catch a runaway but to steady a child.
The omnipresence of God is not a net thrown over a suspect. It is the everywhere-ness of a love that has nowhere it will not follow you.
David tries one last hiding place - not a distance but a covering: If I say, Surely the darkness shall cover me; even the night shall be light about me (v. 11). Darkness is the oldest refuge of those who do not want to be seen; we still say a thing was done in the dark. But the hiding fails like all the others: Yea, the darkness hideth not from thee; but the night shineth as the day: the darkness and the light are both alike to thee (v. 12).
To human eyes, darkness is the absence of seeing; to God it is no obstacle at all. The night is as transparent to Him as noon. There is no shadow deep enough, no secrecy thick enough, to put any act or thought beyond His sight. For someone with something to hide, that is a sobering thought. But set it back inside this psalm, and it becomes another comfort. The same verse that means nothing you do in the dark is unseen also means you are never lost in the dark to God. When you cannot see your own way forward, when everything around you has gone black, you have not dropped off His map.
The night shineth as the day to Him - He sees you perfectly in the very place where you cannot see at all.
The uttermost parts of the sea are not beyond Him; neither is the end of the age. And there is one place David named that matters most of all. He imagined descending into the realm of the dead - if I make my bed in hell, behold, thou art there - and the New Testament dares to say that this is exactly where the love of God reached: there is no depth, not even death itself, where His presence runs out.
So Paul can write that neither death, nor life, nor angels, nor principalities… nor height, nor depth, nor any other creature, shall be able to separate us from the love of God (Rom. 8:38-39) - gathering up the very same extremes this psalm names, the height and the depth, and declaring every one of them powerless to cut us off. What David explored as a thought experiment, the gospel announces as a settled fact: there is no place you can go, in this life or out of it, where you will arrive beyond the reach of the One who holds you by the right hand.
Psalm 139 will not allow it. David tries every exit - up, down, out, into the night - and the verdict is the same each time: behold, thou art there. Not waiting to pounce, but reaching to lead and to hold (v. 10). So when you are in the place you feel most alone - the depth you are ashamed of, the dark you cannot see your way out of - the truth of this psalm is not that you should try harder to feel God's presence.
It is that His presence does not depend on your feeling it. He is already there. The night shineth as the day to Him; the depth is not too deep. You cannot fall out of the reach of the hand that holds you, and the proof of it is a tomb that could not keep Him - for He went into the lowest place there is and came out the other side, still holding on.
Psalm 139:13-18Fearfully and Wonderfully Made
13For thou hast possessed my reins: thou hast covered me in my mother’s womb. 14I will praise thee; for I am fearfully and wonderfully made: marvellous are thy works; and that my soul knoweth right well. 15My substance was not hid from thee, when I was made in secret, and curiously wrought in the lowest parts of the earth. 16Thine eyes did see my substance, yet being unperfect; and in thy book all my members were written, which in continuance were fashioned, when as yet there was none of them. 17How precious also are thy thoughts unto me, O God! how great is the sum of them! 18If I should count them, they are more in number than the sand: when I awake, I am still with thee.
Now David answers the question the first two movements raised but never explained: how does God know him so completely? The answer is in the little word that opens verse 13 - For. God knows him through and through because God made him through and through: For thou hast possessed my reins: thou hast covered me in my mother's womb. The reins in older English are the kidneys, and in Hebrew thought the kidneys were the seat of the deepest feelings and the conscience - the most hidden, interior part of a person, the place where motives live.
To say God possessed them is to say God owns and formed the very innermost self, the part no one else can reach. And thou hast covered me in my mother's womb pictures God at work in the most secret place there is, weaving a person together in the dark before any eye but His could see. This is why the knowledge of the opening verses is so total and so tender at once.
God does not know David the way a watcher knows a stranger; He knows him the way a maker knows what he himself has made. The One reading the unspoken word is the One who fashioned the tongue that would speak it.
Verse 16 stretches God's knowledge across time itself: Thine eyes did see my substance, yet being unperfect; and in thy book all my members were written, which in continuance were fashioned, when as yet there was none of them. God saw David when he was unperfect - not flawed, but unfinished, still incomplete, the way a thing only begun is not yet what it will be. And David pictures a book in which all his members - the parts of him - were already written before a single one of them existed.
The image is of a God whose care precedes the thing cared for, whose attention runs ahead of our very existence. This is knowledge that does not merely keep up with us; it goes before us. Before David was, God knew David. It is the same comfort the prophets and apostles would lean on - the conviction that we did not stumble into being unnoticed, but were seen and known by God before we could see or know anything at all.
However one understands the mystery of how a person comes to be, the psalm's point stands over every reader alike: you were not an afterthought. You were in the mind and care of God before you had a face.
The movement closes not with a fact about David but with David overwhelmed by God: How precious also are thy thoughts unto me, O God! how great is the sum of them! If I should count them, they are more in number than the sand (vv. 17-18). The psalm began with David astonished that God knew his thoughts; now it turns around, and David is astonished trying to reckon with God's thoughts toward him - and finds them beyond counting, more than the grains of sand on a shore.
He cannot get to the end of how much he is thought about. And then the last, quiet line of the movement, almost whispered: when I awake, I am still with thee (v. 18). After all the heights and depths, all the searching and forming and the uncountable thoughts, it lands on the most ordinary moment imaginable - waking up - and the steadiest fact of all: He is still here. The One who was there before David existed, there at every coordinate of the universe, there in the womb weaving him together, is there again the moment his eyes open in the morning.
The knowledge that began as something almost overwhelming has become a companionship. To be known by this God is, in the end, simply never to be alone.
John writes that the Word was made flesh, and dwelt among us (John 1:14), and Luke tells how the angel said to a young woman in Galilee that the holy thing to be born of her would be conceived and formed in her own womb (Luke 1:31, 35). The Maker who covered David in his mother's womb was Himself, in the fullness of time, covered in a mother's womb - fearfully and wonderfully made in the same hidden, ordinary way every child is made.
That is the depth of how God honoured this marvellous work of His hands: He took it up into Himself. The body David called a wonder became something God was willing to wear. And so the praise of verse 14 is no longer only David's gratitude for his own making; it is the believer's wonder that the One who fashions every life in secret stepped into the secret place Himself, and was born.
That is true on your worst-feeling day in front of the mirror, and it was true before you had a face, when God was writing your members in His book (v. 16). So the practice is to receive what God has already declared, rather than negotiate with the verdict the world keeps shouting. When the old contempt rises - I am too much of this, not enough of that - you have a truer word to answer it with, and it is not your own self-talk; it is God's appraisal of His own work: marvellous are thy works; and that my soul knoweth right well. You were not an accident the universe coughed up.
You were embroidered on purpose, and the One who made you has never regretted it.
Psalm 139:19-24Search Me, O God, and Know My Heart
19Surely thou wilt slay the wicked, O God: depart from me therefore, ye bloody men. 20For they speak against thee wickedly, and thine enemies take thy name in vain. 21Do not I hate them, O LORD, that hate thee? and am not I grieved with those that rise up against thee? 22I hate them with perfect hatred: I count them mine enemies. 23Search me, O God, and know my heart: try me, and know my thoughts: 24And see if there be any wicked way in me, and lead me in the way everlasting.
The psalm takes a sharp and difficult turn. Out of the wonder of being known and made, David rounds suddenly on the enemies of God: Surely thou wilt slay the wicked, O God… Do not I hate them, O LORD, that hate thee? and am not I grieved with those that rise up against thee? I hate them with perfect hatred (vv. 19, 21-22). It is jarring language, and it should be heard for what it is.
Notice first who the enemies are: they are defined entirely by their stance toward God - they speak against thee wickedly, they take thy name in vain, they rise up against thee (vv. 20-21). David's quarrel is not a private grudge; it is grief over those who set themselves against the God he has just spent eighteen verses adoring. His hatred here is the burning of a man who cannot stay neutral about evil - who loves God enough to be wounded by what stands against Him.
Perfect hatred means whole, undivided, with no secret sympathy for the wickedness. And yet the Scriptures themselves will not let this verse become a license. The same God David serves later teaches plainly, Love your enemies… pray for them which despitefully use you (Matt. 5:44). The psalm gives us a real and honest zeal for God's honour - but it is a zeal that, in the very next breath, David hands back to God for inspection.
He does not stay standing as judge over others for long.
And here is the turn that redeems the whole fierce passage. Having declared his hatred of those who hate God, David does not leave the lamp shining on them. He swings it around onto himself: Search me, O God, and know my heart: try me, and know my thoughts: and see if there be any wicked way in me (vv. 23-24). The very same searching he was sure God would bring against the wicked, he now asks God to bring against him.
Search me - the identical verb from verse 1, where the psalm began. The man who said I hate them with perfect hatred immediately exposes his own heart to the same scrutiny, as if to say: and if there is any of that wickedness in me, find it; do not spare me. This is what keeps the imprecation honest. David is not claiming the high ground of the innocent denouncing the guilty; he is the first to lay himself open.
The fiercest words in the psalm are followed at once by the humblest, and the order matters - zeal against evil is safe only in the hands of someone willing to have that same zeal turned on himself first. He asks to be examined for any wicked way, and trusts God enough to want the answer.
And the New Testament gives that way a name and a face. To His followers Jesus said, I am the way, the truth, and the life: no man cometh unto the Father, but by me (John 14:6). The road David asked to be led along is, finally, a Person. And it is worth seeing how the whole psalm has prepared for this. The God who searched David (v. 1) is the same God David now asks to search him (v. 23) and then to lead him (v. 24) - knowledge giving way to guidance, the One who sees everything becoming the One who shows the way through.
That is the shape of the gospel in miniature: we are fully known, and rather than destroying us, the knowing leads us home. The searching light of verse 1 turns out, by verse 24, to be a lamp held out to light the everlasting way.
David refuses to stay in that posture. The same passion he brought against evil out there, he turns inward, and asks God to do the searching, because he knows his own heart can hide things from him that it cannot hide from God. So here is the practice, and it is a daily one: whenever you find yourself most certain about someone else's sin, most energized by being right, let that be the cue to pray verse 23 - Search me, O God, and know my heart. Turn the light around.
Ask the God who sees everything to show you what is in you - not to crush you, but to lead you, because the prayer does not end at search me. It ends at lead me in the way everlasting. The searching is never the last word. The leading is.
Where this echoes in Scripture
Thou Hast Searched Me, and Known Me
- John 2:24-25he knew all men, and needed not that any should testify of man: for he knew what was in man.The knowledge of verse 4 - the word known before it is spoken - seen in the One who read every heart He met.
- Hebrews 4:13all things are naked and opened unto the eyes of him with whom we have to do.The complete searching of verses 1-6, stated as the condition of every soul before God.
- Jeremiah 17:10I the LORD search the heart, I try the reins, even to give every man according to his ways.The searching God of verse 1 (and v. 23), named as the One who alone reads the inner person.
- 1 Corinthians 13:12now I know in part; but then shall I know even as also I am known.The being-fully-known of verses 1-6, carried forward as the hope of the believer.
Whither Shall I Flee from Thy Presence
- Matthew 28:20lo, I am with you alway, even unto the end of the world.The everywhere-presence of verses 7-10, made a personal promise to the end of the age.
- Romans 8:38-39neither death... nor height, nor depth... shall be able to separate us from the love of God.The very extremes of verse 8 - height and depth - declared powerless to cut off God's love.
- Jonah 1:3But Jonah rose up to flee unto Tarshish from the presence of the LORD.A man who actually attempted David's thought experiment of verse 7 - and learned its answer.
- Amos 9:2-3Though they dig into hell... though they climb up to heaven, thence will I bring them down.The same heights and depths of verse 8 - here showing there is no escaping God's reach.
Fearfully and Wonderfully Made
- John 1:14the Word was made flesh, and dwelt among us, (and we beheld his glory...).The Maker of verse 14 entering His own handiwork - formed in a womb as every child is.
- Jeremiah 1:5Before I formed thee in the belly I knew thee; and before thou camest forth... I sanctified thee.The God who knew David before he was made (v. 16), speaking the same knowledge over the prophet.
- Job 10:11Thou hast clothed me with skin and flesh, and hast fenced me with bones and sinews.The same wonder of being formed and woven by God that fills verses 13-15.
- Isaiah 44:24Thus saith the LORD... he that formed thee from the womb, I am the LORD that maketh all things.The Maker of verse 13, who forms each person in the womb and made all things besides.
Search Me, O God, and Know My Heart
- John 14:6I am the way, the truth, and the life: no man cometh unto the Father, but by me.The “way everlasting” of verse 24, given a name - the road David asks to be led along is a Person.
- Matthew 5:43-44Love your enemies, bless them that curse you... and pray for them which despitefully use you.The teaching that will not let the hatred of verses 21-22 stand as a model for the disciple.
- Psalm 26:2Examine me, O LORD, and prove me; try my reins and my heart.The same willing self-exposure as verse 23 - inviting God to search the inmost person.
- Revelation 2:23I am he which searcheth the reins and hearts: and I will give unto every one of you according to your works.The searching of verses 1 and 23, claimed by the risen Christ as the One who reads every heart.