Psalm 18:4 describes a moment of real danger: David felt trapped by the approach of death and overwhelmed by wicked people whose opposition threatened to sweep him away. The verse shows that honest fear is not a failure of faith, and it sets up the rescue that follows in the psalm. David, the king of Israel, speaks these words in his own voice, and the psalm as a whole is addressed to the LORD, the God who had delivered him again and again.
The cords of death surrounded me. The floods of ungodliness made me afraid.
Psalm 18:4 (WEB)
What Psalm 18:4 Means
The opening image is one of ropes or cords closing in. In the ancient world a person caught in a net or snare had little ability to escape, and the psalmist uses that picture to describe how death seemed to tighten around him. The word “cords” suggests something wrapped around the body, pulling tighter with every movement, so the danger felt personal and inescapable.
The second image is of floods. Rushing water could knock a person off balance and carry them under, and the psalm links that force to “ungodliness,” meaning the lawless and hostile people who were threatening David. Together the two pictures say that David was caught between a sense of mortality pressing in and a human opposition that seemed unstoppable.
The verse does not promise that trouble will never come, and it does not claim that David felt calm while facing it. What it offers is an honest description of fear. The rest of the psalm shows where David turned with that fear, which is the more important part of the story.
The Context of Psalm 18:4
Psalm 18 appears in the book of Psalms, the Hebrew hymnbook that gathers prayers and songs for worship and personal devotion. Its superscription, which is part of the Hebrew text, attributes it to David, the servant of the LORD, and it also appears in a parallel form in 2 Samuel 22. The psalm is a song of thanksgiving composed after God had rescued David from his enemies and from Saul, and it was meant for the people of Israel to sing as they remembered God’s faithfulness.
The verses just before this one, in verses 1 through 3, describe the LORD as David’s rock, fortress, shield, and high tower, and David declares that he calls on God and is saved. Verse 4 therefore is not a description of hopelessness that the psalm leaves behind. It is a looking back on a dark moment from a place of safety, and the verses that follow it in verses 5 and 6 show David crying out in that very distress and being heard. Reading the verse in this sequence makes clear that the fear is real but is never the final word.
Key Phrases in Psalm 18:4
Psalm 46:1
God is our refuge and strength, a very present help in trouble.
(WEB)
This verse also calls God a refuge and a strength who is present in trouble. Read beside Psalm 18:4, it shows that the psalmists consistently paired honest descriptions of danger with confident trust in God as the one who shelters his people.
Psalm 55:22
Cast your burden on the LORD, and he will sustain you. He will never allow the righteous to be moved.
(WEB)
This verse invites the believer to cast their burden on the LORD, which fits the movement from fear to prayer in Psalm 18. Both passages teach that anxiety becomes something to hand to God rather than carry alone.
A Short Prayer From Psalm 18:4
Lord, I confess that some days I feel wrapped up in fears I cannot untangle, and some days the pressure of other people’s hostility feels like a river I cannot stand against. I do not need to hide these feelings from you. You already know how tight the cords feel and how strong the floods can be. Help me to speak honestly to you the way David did, and then to turn toward you as my rock and my refuge. Loosen what has bound me and steady my feet, so that I can trust that you hear my cry. Amen.