Psalms 7
Psalm 7 carries a small note at its head: Shiggaion of David, which he sang unto the LORD, concerning the words of Cush the Benjamite. We do not know who Cush was, but we know what he did - he spoke words, and the words were a weapon. David has been slandered, accused of some grave wrong, and the charge is not a harmless rumor: it threatens his honor and his very life. The whole psalm is his response, and the striking thing is where he takes it. He does not answer the lie with a counter-lie, does not gather a faction, does not reach for the sword. He brings the case to court - but the court is the throne of heaven, and the judge is God.2
The prayer moves in two long movements. In the first (vv. 1-8) David pleads. He begins not with his innocence but with his trust - O LORD my God, in thee do I put my trust - and then does something most accused men never dare: he opens his own life to inspection. If I have done this; if there be iniquity in my hands… he says, and calls down ruin on his own head should the charge prove true (vv. 3-5). Only a man with a clear conscience before God prays that way. Then he asks the Judge to convene: The LORD shall judge the people: judge me, O LORD, according to my righteousness, and according to mine integrity that is in me. He is not asking to be let off; he is asking to be tried.
In the second movement (vv. 9-17) the psalm lifts from one man's case to the bench of the whole world. The God who will judge David is the God who trieth the hearts and reins - who reads the hidden springs of every life and so can judge by truth and not by appearance. And David watches a strange and certain justice unfold: the man who travaileth with iniquity gives birth to his own undoing; the man who digs a pit falls into it; his mischief shall return upon his own head. Evil is not merely punished from outside - it carries the seed of its own collapse. The psalm that began in danger ends, remarkably, in song: I will praise the LORD according to his righteousness. The case is not yet visibly won, but the singer already knows the Judge, and that is enough to make him sing.
Tap any highlighted phrase to jump to the commentary that unpacks it.

Psalm 7:1-8In Thee Do I Put My Trust
1O Lord my God, in thee do I put my trust: save me from all them that persecute me, and deliver me: 2Lest he tear my soul like a lion, rending it in pieces, while there is none to deliver. 3O LORD my God, if I have done this; if there be iniquity in my hands; 4If I have rewarded evil unto him that was at peace with me; (yea, I have delivered him that without cause is mine enemy:) 5Let the enemy persecute my soul, and take it; yea, let him tread down my life upon the earth, and lay mine honour in the dust. Selah. 6Arise, O LORD, in thine anger, lift up thyself because of the rage of mine enemies: and awake for me to the judgment that thou hast commanded. 7So shall the congregation of the people compass thee about: for their sakes therefore return thou on high. 8The LORD shall judge the people: judge me, O LORD, according to my righteousness, and according to mine integrity that is in me.
The psalm opens, as so many of David's do, not with the problem but with the refuge: O LORD my God, in thee do I put my trust. The verb behind trust is one of the warmest in the Hebrew - to take refuge, to run under cover, the way a small animal bolts beneath a rock when the hawk's shadow falls. Before David says a word about his accuser, he has already run somewhere; his first move under attack is not outward toward the enemy but upward toward God. And the danger is real: lest he tear my soul like a lion, rending it in pieces, while there is none to deliver. The picture is savage - a lion with its prey, claws in, and no rescuer in sight. Slander is not a polite disagreement; here it is a beast at the throat. Yet the very helplessness of the image (none to deliver) is what drives the prayer. When no human hand can pull you free, you learn whether you really believe there is a hand above the lion.
Then David does something almost no accused person dares to do: he opens the books. O LORD my God, if I have done this; if there be iniquity in my hands; if I have rewarded evil unto him that was at peace with me… - and he follows the if all the way to its terrible end: let the enemy persecute my soul, and take it; yea, let him tread down my life upon the earth, and lay mine honour in the dust. This is a self-imprecation, an oath sworn against himself. David is saying: if the charge is true, then let the very ruin my accuser wishes on me fall on me. No guilty man prays that. It is the prayer of someone whose conscience, in this matter, is genuinely clear - clear enough to invite the worst if he is lying. Notice he does not claim to have never sinned at all; he names a specific kind of betrayal (turning on a friend at peace with him) and stakes his life on his innocence of it. The honesty cuts both ways: David submits himself to the same justice he is asking God to bring down on his enemy. He wants a verdict, not a favor.
Psalm 7:9-17He Made a Pit, and Is Fallen into the Ditch
9Oh let the wickedness of the wicked come to an end; but establish the just: for the righteous God trieth the hearts and reins. 10My defence is of God, which saveth the upright in heart. 11God judgeth the righteous, and God is angry with the wicked every day. 12If he turn not, he will whet his sword; he hath bent his bow, and made it ready. 13He hath also prepared for him the instruments of death; he ordaineth his arrows against the persecutors. 14Behold, he travaileth with iniquity, and hath conceived mischief, and brought forth falsehood. 15He made a pit, and digged it, and is fallen into the ditch which he made. 16His mischief shall return upon his own head, and his violent dealing shall come down upon his own pate. 17I will praise the LORD according to his righteousness: and will sing praise to the name of the LORD most high.
David's plea now widens from his own case to a confession about the kind of God he is appealing to: the righteous God trieth the hearts and reins. The two Hebrew words are wonderfully concrete. The heart (lev) was thought of as the seat of the will and the mind - the place where a person decides and intends. The reins (literally the kidneys) were felt to be the seat of the deepest emotions, the hidden stirrings a person can barely name in himself. To say God tries - tests, assays, like a refiner proving metal - the hearts and the reins is to say nothing is out of His reach: not the calculated decision and not the buried feeling, not the public deed and not the secret motive behind it. This is precisely why God can be trusted to judge David's case rightly when no human court could. A human judge weighs evidence and testimony and can still be deceived by a clever lie; God weighs the heart itself. The very thing that should terrify us - that God sees all the way down - is here the accused man's comfort. The One who misses nothing will not be fooled by the slander, and will not mistake the innocent for the guilty.
Verse 11 holds a line that can sound harsh to modern ears: God judgeth the righteous, and God is angry with the wicked every day. But hear it inside the psalm. This is the prayer of a man being hunted by a lie, and the alternative to a God who is angry at wickedness is not a kinder God but an indifferent one - a God who shrugs at the lion tearing the innocent, who feels nothing when the strong crush the weak. The anger of God here is not a short temper; it is the steady, daily opposition of perfect goodness to everything that ruins and devours. A judge who felt no anger at injustice would be no comfort to the wronged at all. And notice the door the next verse leaves open: if he turn not, he will whet his sword. The whole weight of the warning hangs on that if. The wicked man's ruin is not sealed by fate; it waits on whether he will turn. God's anger against wickedness is real and it is daily - and it is also patient, holding the door of repentance open right up until it is finally, freely refused.
The last line is the most surprising in the psalm: I will praise the LORD according to his righteousness: and will sing praise to the name of the LORD most high. Nothing in David's circumstances has visibly changed. The accuser has not been silenced on the page; the pit has not yet swallowed anyone; David is still, as far as we can see, a hunted man. And yet he ends in song. This is the deep logic of faith: praise that waits for the verdict to arrive is only relief, but praise offered before the verdict is trust. David can sing because his confidence was never in the outcome of the case but in the character of the Judge - his righteousness. He praises God not for having already won but for being the kind of God in whose hands a true cause is finally safe. And there is a quiet movement across the whole psalm: it opened with David pleading my righteousness (v. 8) and closes with him praising his righteousness (v. 17). The accused man's small, embattled rightness has been swallowed up in the great unshakable rightness of God - and that is a thing worth singing about, even in the dark, even before the morning comes.
Further study
- The Hebrew text of Psalm 7 with Rashi, Ibn Ezra, and the classical commentators side by side - useful for tsedeq (vv. 8, 17, the “righteousness” the psalm both pleads and praises), the verb shaphat (vv. 8, 11, “to judge, to govern, to set right”), and the vivid bor / shachath word-pair (vv. 15-16, the “pit” and “ditch” the wicked man digs for himself).
- Psalm 7 ↔ Genesis 18 · 1 Peter 2 · 2 Timothy 4Intertextual BibleTraces the verbal threads tying Psalm 7's plea to the righteous Judge - Abraham's appeal to the Judge of all the earth (Gen. 18:25), the innocent Sufferer who committed himself to him that judgeth righteously (1 Pet. 2:23), and the crown of righteousness that the righteous judge will give (2 Tim. 4:8).
- Psalm 7 - Translators' NotesNET BibleThe NET Bible's detailed footnotes on the cruxes of Psalm 7 - the rare heading-word shiggaion, the sense of trieth the hearts and reins in verse 9, and the imagery of the recoiling weapons and the self-dug pit in verses 12-16.
Where this echoes in Scripture
In Thee Do I Put My Trust
- 1 Peter 2:23Who, when he was reviled, reviled not again... but committed himself to him that judgeth righteously.The pattern of the whole psalm - handing the case to the Judge (v. 8) - lived out by Christ.
- Genesis 18:25Shall not the Judge of all the earth do right?Abraham appeals to the same righteous Judge David trusts to set his case right.
- Romans 12:19Avenge not yourselves... for it is written, Vengeance is mine; I will repay, saith the Lord.David refuses self-defense (vv. 3-5) and leaves judgment to God - the path the New Testament commends.
- Psalm 26:1Judge me, O LORD; for I have walked in mine integrity.The same plea (v. 8) - not for mercy on a guilty man, but vindication of a true cause.
He Made a Pit, and Is Fallen into the Ditch
- Galatians 6:7Be not deceived; God is not mocked: for whatsoever a man soweth, that shall he also reap.The same moral law as the self-dug pit (vv. 15-16): evil circles back on its maker.
- Proverbs 26:27Whoso diggeth a pit shall fall therein: and he that rolleth a stone, it will return upon him.The very image of verse 15, stated as settled wisdom.
- 2 Timothy 4:8a crown of righteousness, which the Lord, the righteous judge, shall give me at that day.The righteous Judge of the psalm, now named - He vindicates His own at the last.
- Revelation 12:10the accuser of our brethren is cast down, which accused them before our God day and night.The slanderer of Psalm 7 unmasked - and finally silenced before the throne.