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.
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.

People in this chapter
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.
Peter, who watched it, tells us exactly what was happening underneath that silence: Who, when he was reviled, reviled not again; when he suffered, he threatened not; but committed himself to him that judgeth righteously (1 Pet. 2:23).
That is Psalm 7 lived out perfectly. Where David could plead only the rightness of one case, Jesus was the truly upright One, the Lamb without blemish, against whom every charge was a lie. He did not silence His accusers or call down the legions He could have summoned; He handed the verdict to His Father, the Judge of all the earth (Gen. 18:25). And the Father answered - not by sparing Him the cross, but by raising Him from the dead and appointing Him the One which was ordained of God to be the Judge of quick and dead (Acts 10:42).
The innocent Sufferer who trusted the righteous Judge has Himself become the righteous Judge, who will at the last give to all His own a crown of righteousness (2 Tim. 4:8). To put your trust in Him, as David put his trust in God, is to entrust your own bruised and slandered cause to the only Judge who cannot be deceived.
Psalm 7 offers a harder and better way. David takes his case to the One who knows the truth, opens his own conscience honestly (he does not pretend to be flawless, only to be innocent of this), and then leaves the verdict where it belongs. He does not stop caring about justice; he stops trying to be his own judge. Today, if there is a charge against you that stings because it is false, you do not have to carry both the wound and the gavel.
You can do the honest work of examining your own hands - and then hand the case up to the Judge who saves the upright in heart, and go on living, even singing, before the verdict is in.
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.
The New Testament gathers up that promise and shows us where it lands. The One who is our defense did not merely provide a shield; He became our righteousness, so that the upright standing David pleaded for could be given to those who had no case of their own to plead. He is made unto us… righteousness (1 Cor. 1:30); and so the accused sinner, who could never honestly pray “judge me according to my righteousness,” is covered by His.
When the accuser rises - and Scripture names him plainly, the accuser of our brethren… which accused them before our God day and night (Rev. 12:10) - the believer's defense is not a record of his own innocence but an Advocate at the Father's right hand: we have an advocate with the Father, Jesus Christ the righteous (1 John 2:1). David said my defence is of God. In Christ that defense has a face and a name, and He ever liveth to make intercession for those who come to God by Him (Heb. 7:25).
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.
You can do the same with whatever unresolved injustice you are carrying. You do not have to wait until you have won to worship. You can hand the verdict to the Judge who tries the hearts and reins, trust that evil carries the seed of its own collapse, and let your praise run ahead of your circumstances - not because you are pretending the wound away, but because you know the One in whose hands it rests. The song before the verdict is the truest proof that you actually trust the Judge.
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.