Psalms 26
Psalm 26 is a plea - the prayer of a man asking to be examined. From the very first line it has the feel of a courtroom: Judge me, O LORD. But this is not a defendant dreading the verdict; it is a man who walks straight up to the judge and asks for the trial, confident not in a perfect record but in the genuineness of his cause. He has nothing he is trying to hide. And so the psalm does something startling: it invites God to look closer, not to look away. Examine me… prove me; try my reins and my heart. The whole prayer is built on the assumption that being fully known by God is a thing to ask for, not to fear - and the reason is given right at the start: for thy lovingkindness is before mine eyes (v. 3). David can ask to be searched because he is standing in the light of a love he trusts.3
It is important to read this psalm rightly, because on the surface it can sound like a man congratulating himself: I have walked in mine integrity… I have not sat with vain persons… I have hated the congregation of evildoers. But that is not the note David is striking. The word he uses for integrity means wholeness - an undivided heart, a life that is all of a piece, not a man split between a public face and a private rot. He is not claiming to be without sin; he is claiming to be without pretense. And the moment he might tip into self-congratulation, he names where his real footing is: he has trusted in the LORD (v. 1), the LORD's lovingkindness is what he keeps before his eyes (v. 3), and his final word is not “reward me” but redeem me, and be merciful unto me (v. 11). This is the prayer of a clean conscience, not a clean slate - a heart set toward God and kept by God, asking to be searched precisely because it has nothing to protect.
The psalm falls into two movements that mirror each other. In the first (vv. 1-5) David lays out his plea to be examined and then describes the company he has refused - he will not make his home among the false and the violent, the people whose words cannot be trusted. In the second (vv. 6-12) he turns from what he has refused to what he has loved: the altar, the place of worship, the habitation of thy house, and the place where thine honour dwelleth. The contrast is the whole point. A heart turns away from one thing because it has been captured by another; David has walked out of the company of the wicked because he has walked into the courts of God. And the psalm ends not on his own righteousness but on solid ground and a song: My foot standeth in an even place: in the congregations will I bless the LORD.
Tap any highlighted phrase to jump to the commentary that unpacks it.

Psalm 26:1-5 · A Psalm of DavidExamine Me, and Prove Me
1Judge me, O LORD; for I have walked in mine integrity: I have trusted also in the LORD; therefore I shall not slide. 2Examine me, O LORD, and prove me; try my reins and my heart. 3For thy lovingkindness is before mine eyes: and I have walked in thy truth. 4I have not sat with vain persons, neither will I go in with dissemblers. 5I have hated the congregation of evildoers; and will not sit with the wicked.
The psalm opens on a word that sounds, at first, like the last thing a person would ask for: Judge me, O LORD. We spend most of our lives hoping not to be judged, managing how we are seen, keeping the inspection at arm's length. David walks the other way - straight up to the bench and asks for the trial. But notice the ground he stands on, because it is the hinge of the whole psalm. He does not say “judge me, for I am sinless.” He says I have walked in mine integrity: I have trusted also in the LORD. The integrity comes paired immediately with trust, and the two are not the same thing. His confidence is not that his record is spotless but that his cause is honest and his heart is turned the right way - and that he has leaned the whole weight of his life on the LORD. That is why he can add therefore I shall not slide. The footing he is sure of is not the strength of his own walking; it is the One he has trusted to hold him up.
If verse 1 was bold, verse 2 is breathtaking: Examine me, O LORD, and prove me; try my reins and my heart. Three verbs pile up, and each one asks for deeper scrutiny than the last. Examine - investigate, inspect. Prove - put to the test. Try - assay, the way a refiner tests gold by fire to see what it really is. And see where he invites the testing to reach: not just his actions, not just his words, but his reins and his heart. In the Hebrew, the reins are the kidneys - and to the ancient ear the kidneys were the seat of the deepest, most hidden self, the place of secret thought and feeling that no one else can see. So David is not asking God to check his public conduct, which anyone could review. He is throwing open the most private room in the house and saying: search there too. This is the prayer of a man who has nothing locked away, no chamber he is afraid for God to enter. It is the opposite of hiding. And it is only prayable by someone who, underneath everything, trusts the One holding the lamp.
Here, in verse 3, is the line that keeps the whole psalm from tipping into self-righteousness: For thy lovingkindness is before mine eyes: and I have walked in thy truth. Watch the order of it carefully. Before David says a word about his own walking, he names what he keeps in front of his face: not his achievements, not his clean record, but thy lovingkindness - the steadfast, covenant love of God. That is the thing he stares at; that is the standard he measures by; that is the light he walks in. And it is God's truth he says he has walked in, not his own. So the integrity of the first two verses is now placed in its proper frame: David walks straight because he is walking with his eyes fixed on God's love, not because he is admiring his own progress. A man who keeps lovingkindness before his eyes is not measuring himself against other people and feeling superior; he is being drawn forward by a love that goes ahead of him. The walking is real, but it is a response, not a boast - the footsteps of someone following a light he did not light himself.
From the plea David turns to the company he has refused: I have not sat with vain persons, neither will I go in with dissemblers. I have hated the congregation of evildoers; and will not sit with the wicked. The strong word here is hated, and it can jar a modern ear - but notice exactly what David sets it against. The people he names are vain persons (the empty, the false), dissemblers (those who hide what they are, who pretend), and evildoers. It is duplicity itself he refuses to make his home in - the very opposite of the tom, the wholeness, he has just claimed. There is a quiet consistency in this. A man cannot ask God to test his heart for integrity and then spend his evenings sitting - settling in, taking his ease, making his home - among those whose whole way of life is pretense. The verbs are telling: not sat, not go in, not sit. David is talking about where he plants himself, where he belongs, the table he chooses to pull his chair up to. He is not claiming never to encounter such people; he is saying he has refused to belong to them. And the reason will become clear in the next breath: his heart has been claimed by a better company and a better house.
Psalm 26:6-12I Have Loved the Habitation of Thy House
6I will wash mine hands in innocency: so will I compass thine altar, O LORD: 7That I may publish with the voice of thanksgiving, and tell of all thy wondrous works. 8LORD, I have loved the habitation of thy house, and the place where thine honour dwelleth. 9Gather not my soul with sinners, nor my life with bloody men: 10In whose hands is mischief, and their right hand is full of bribes. 11But as for me, I will walk in mine integrity: redeem me, and be merciful unto me. 12My foot standeth in an even place: in the congregations will I bless the LORD.
The psalm now moves from the courtroom to the courts of God: I will wash mine hands in innocency: so will I compass thine altar, O LORD. The picture is drawn from worship. Before a priest approached the altar, he washed at the laver - clean hands for holy ground. David takes that physical act and makes it the image of his approach to God: he comes to the altar with hands washed, not in mere water but in innocency, and then compasses it - walks around it, encircles it - in the glad procession of one who belongs there. And notice what the washed hands are for: not to earn entry, but so that I may publish with the voice of thanksgiving, and tell of all thy wondrous works. The clean hands are the doorway to praise. This is the deep logic of the psalm: integrity is not an end in itself, a trophy to admire; it is what clears the way to worship. A divided, double life chokes praise - you cannot fully sing to God while hiding from Him. A whole heart, by contrast, runs straight to the altar with its hands open and its mouth full of thanksgiving. David washes his hands not to impress God but to be free to declare His wonders.
Now comes the warmest line in the psalm, and the one that explains all the rest: LORD, I have loved the habitation of thy house, and the place where thine honour dwelleth. Here, at last, is the engine behind everything. Why has David refused the company of the false? Why does he walk in integrity, keep God's lovingkindness before his eyes, wash his hands and circle the altar? Because he is in love - with the house of God, with the place where God's glory dwells. This is not duty talking; it is desire. The same longing breaks out all through the Psalter - how amiable are thy tabernacles, O LORD… my soul longeth… for the courts of the LORD (Ps. 84:1-2); one thing have I desired… to behold the beauty of the LORD (Ps. 27:4). A heart turns away from one company because it has been captured by a better one. David has walked out of the congregation of evildoers (v. 5) not mainly by force of willpower but because he has walked into the place where God's honour dwells, and once you have loved that, the other table loses its pull. The deepest root of integrity, this psalm quietly insists, is not gritted teeth. It is love.
David returns to the two roads, but now with his fate hanging on the difference: Gather not my soul with sinners, nor my life with bloody men: in whose hands is mischief, and their right hand is full of bribes. The prayer is not that the wicked be forgiven or condemned; it is simply, do not file me with them. Do not let my life be gathered up in the same bundle and meet the same end. And he is precise about who he means: bloody men with mischief in their hands and bribes in their right hand - people who use their hands for violence and corruption, who can be bought, whose word is for sale. Set that against verse 6, and the whole psalm clicks into focus: their hands are full of bribes; his hands he washes in innocency. The contrast is hands and hands - what a life is used for, what it can be bought with, what it reaches out to take. David asks not to be sorted with the people whose hands are dirty in exactly the way his are clean. It is the same plea as the start of the psalm, now from the far side: examine my hands; you will not find them full of bribes; do not gather me with those whose are.
The psalm gathers itself for its close on a deliberate turn: But as for me, I will walk in mine integrity: redeem me, and be merciful unto me. The but as for me is the line drawn - over against the bloody men and the bought hands, David sets his own settled choice. Yet look how the sentence ends, because it is the safeguard against any misreading of this whole psalm. A man boasting of his own righteousness would have stopped at I will walk in mine integrity. David does not stop there. In the very same breath he prays redeem me, and be merciful unto me - words that only make sense on the lips of someone who knows he needs redeeming, who is asking for mercy he has not earned. So the two halves of the verse hold the truth of the psalm together: real integrity (I will walk) and real dependence (redeem me), the clean cause and the cry for mercy, refusing to come apart. David walks in integrity and asks to be redeemed in the same sentence, and feels no tension in it - because his integrity was never the thing he was trusting in. It was the LORD, all along, that he had trusted (v. 1); and it is the LORD's mercy he leans on still.
The psalm that began by asking to be judged ends standing on solid ground: My foot standeth in an even place: in the congregations will I bless the LORD. An even place is level ground - firm footing, not the crumbling edge of a cliff or the shifting sand where a man slips. And this answers the very first verse: David said I shall not slide (v. 1), and now he reports, as if from the far side of the testing, that his foot does indeed stand firm. But mark where the firmness comes from. He did not say in verse 1 “I shall not slide because I am strong”; he said I have trusted in the LORD; therefore I shall not slide. The even place is not the platform of his own achievement; it is the steady ground of the God he trusted and the mercy he asked for in the line just before. And see where his feet finally carry him: not to a private corner to admire his own standing, but in the congregations - into the gathered worship of God's people - to bless the LORD. The plea to be examined ends, as such pleas should, in praise: not “look how well I have walked,” but a steady man on level ground, lifting his voice with the congregation to bless the One who kept his foot from slipping.
Further study
- The Hebrew text of Psalm 26 with Rashi, Ibn Ezra, and other classical commentators side by side - useful for tom (vv. 1, 11, “integrity, completeness, wholeness”), bachan (v. 2, “to test, to assay metal in the fire”), and niqqayon (v. 6, “innocence, cleanness” - the washing of the hands).
- Psalm 26 ↔ Psalm 17 · Psalm 24 · the GospelsIntertextual BibleTraces the verbal threads tying Psalm 26's plea of integrity to its companion in Psalm 17, its washing of hands and approach to the altar to the “clean hands and a pure heart” of Psalm 24, and its love for the house of God to the zeal for the Father's house in the Gospels.
- Psalm 26 - Translators' NotesNET BibleThe NET Bible's detailed footnotes on Psalm 26 - the legal force of “judge me,” the metallurgical image behind “prove me” and “try my reins,” the ritual of washing the hands before approaching the altar, and the “even/level place” of the closing verse.
Where this echoes in Scripture
Examine Me, and Prove Me
- Psalm 139:23-24Search me, O God, and know my heart: try me, and know my thoughts.The same open invitation as verse 2 - asking God to search the hidden inner self.
- Proverbs 17:3The fining pot is for silver, and the furnace for gold: but the LORD trieth the hearts.The refiner’s image behind bachan (v. 2) - the LORD assays the heart as fire assays gold.
- Psalm 17:1-3Thou hast proved mine heart... thou hast tried me, and shalt find nothing.The companion plea of integrity - a clean cause, not a sinless boast (vv. 1-2).
- 1 Peter 2:22Who did no sin, neither was guile found in his mouth.The one whose integrity (v. 1) was complete - searched to the heart, and only light found.
I Have Loved the Habitation of Thy House
- Psalm 24:3-4Who shall ascend into the hill of the LORD?... He that hath clean hands, and a pure heart.The washed hands of verse 6 - clean hands as the approach to God’s holy place.
- Psalm 84:1-2How amiable are thy tabernacles, O LORD of hosts! My soul longeth... for the courts of the LORD.The same love for God’s house as verse 8 - desire, not mere duty.
- John 2:16-17Make not my Father’s house an house of merchandise... The zeal of thine house hath eaten me up.David’s love for the house (v. 8) burning to its fullest in the Son.
- Hebrews 10:22Let us draw near... having our hearts sprinkled from an evil conscience, and our bodies washed with pure water.The washing of verse 6 fulfilled - cleansed within to draw near with full assurance.