David’s Song of Thanksgiving

22 David spoke the words of this song to the Lord on the day the Lord rescued him from the hand of all his enemies and from the hand of Saul. He said:(A)

The Lord is my rock, my fortress,(B) and my deliverer,
my God, my mountain[a] where I seek refuge.
My shield, the horn of my salvation,(C) my stronghold,(D) my refuge,(E)
and my Savior, You save me from violence.
I called to the Lord, who is worthy of praise,(F)
and I was saved from my enemies.
For the waves of death engulfed me;(G)
the torrents of destruction terrified me.
The ropes of Sheol entangled me;
the snares of death confronted me.(H)

I called to the Lord in my distress;
I called to my God.(I)
From His temple He heard my voice,
and my cry for help reached His ears.
Then the earth shook and quaked;
the foundations of the heavens[b] trembled;(J)
they shook because He burned with anger.(K)
Smoke rose from His nostrils,
and consuming fire came from His mouth;
coals were set ablaze by it.[c]
10 He parted the heavens and came down,(L)
a dark cloud beneath His feet.
11 He rode on a cherub and flew,
soaring[d] on the wings of the wind.
12 He made darkness a canopy around Him,
a gathering[e] of water and thick clouds.(M)
13 From the radiance of His presence,
flaming coals were ignited.
14 The Lord thundered from heaven;
the Most High projected His voice.(N)
15 He shot arrows and scattered them;(O)
He hurled lightning bolts and routed them.(P)
16 The depths of the sea became visible,
the foundations of the world were exposed
at the rebuke of the Lord,
at the blast of the breath(Q) of His nostrils.(R)

17 He reached down from heaven
and took hold of me;
He pulled me out of deep waters.(S)
18 He rescued me from my powerful enemy
and from those who hated me,
for they were too strong for me.
19 They confronted me in the day of my distress,
but the Lord was my support.
20 He brought me out to a spacious place;(T)
He rescued me because He delighted in me.

21 The Lord rewarded me
according to my righteousness;(U)
He repaid me
according to the cleanness of my hands.(V)
22 For I have kept the ways of the Lord(W)
and have not turned from my God to wickedness.
23 Indeed, I have kept all His ordinances(X) in mind[f]
and have not disregarded His statutes.
24 I was blameless before Him
and kept myself from sinning.
25 So the Lord repaid me
according to my righteousness,
according to my cleanness[g] in His sight.

26 With the faithful
You prove Yourself faithful;
with the blameless man
You prove Yourself blameless;
27 with the pure
You prove Yourself pure,
but with the crooked
You prove Yourself shrewd.
28 You rescue an afflicted people,(Y)
but Your eyes are set against the proud—
You humble them.(Z)
29 Lord, You are my lamp;
the Lord illuminates my darkness.(AA)
30 With You I can attack a barrier,[h]
and with my God I can leap over a wall.(AB)
31 God—His way is perfect;(AC)
the word of the Lord is pure.(AD)
He is a shield to all who take refuge in Him.

32 For who is God besides the Lord?
And who is a rock? Only our God.
33 God is my strong refuge;[i]
He makes my way perfect.[j]
34 He makes my feet like the feet of a deer
and sets me securely on the[k] heights.[l]
35 He trains my hands for war;(AE)
my arms can bend a bow of bronze.
36 You have given me the shield of Your salvation;(AF)
Your help[m] exalts me.
37 You widen a place beneath me for my steps,
and my ankles do not give way.
38 I pursue my enemies and destroy them;
I do not turn back until they are wiped out.
39 I wipe them out and crush them,
and they do not rise;
they fall beneath my feet.
40 You have clothed me with strength for battle;
You subdue my adversaries beneath me.(AG)
41 You have made my enemies retreat before me;[n]
I annihilate those who hate me.
42 They look, but there is no one to save them—
they look to the Lord, but He does not answer them.(AH)
43 I pulverize them like dust of the earth;
I crush them and trample them like mud in the streets.(AI)

44 You have freed me from the feuds among my people;(AJ)
You have appointed me the head of nations;
a people I had not known serve me.(AK)
45 Foreigners submit to me grudgingly;
as soon as they hear, they obey me.
46 Foreigners lose heart
and come trembling from their fortifications.(AL)

47 The Lord lives—may my rock be praised!
God, the rock of my salvation,(AM) is exalted.
48 God—He gives me vengeance
and casts down peoples under me.(AN)
49 He frees me from my enemies.
You exalt me above my adversaries;
You rescue me from violent men.(AO)

50 Therefore I will praise You, Lord, among the nations;
I will sing about Your name.(AP)
51 He is a tower of salvation for[o] His king;
He shows loyalty to His anointed,
to David and his descendants forever.(AQ)


  1. 2 Samuel 22:3 LXX; MT reads God of my mountain; Ps 18:2
  2. 2 Samuel 22:8 Some Hb mss, Syr, Vg read mountains; Ps 18:7
  3. 2 Samuel 22:9 Or ablaze from Him
  4. 2 Samuel 22:11 Some Hb mss; other Hb mss, Syr, Tg read He was seen
  5. 2 Samuel 22:12 Or sieve, or mass; Hb obscure
  6. 2 Samuel 22:23 Lit Indeed, all His ordinances have been in front of me
  7. 2 Samuel 22:25 LXX, Syr, Vg read to the cleanness of my hands; Ps 18:24
  8. 2 Samuel 22:30 Or ridge
  9. 2 Samuel 22:33 DSS, some LXX mss, Syr, Vg read God clothes me with strength; Ps 18:32
  10. 2 Samuel 22:33 Some LXX mss, Syr; MT reads He sets free the blameless His way; Hb obscure
  11. 2 Samuel 22:34 LXX; some Hb mss read my; other Hb mss read His
  12. 2 Samuel 22:34 Or on my high places
  13. 2 Samuel 22:36 LXX reads humility; Ps 18:35
  14. 2 Samuel 22:41 Lit You gave me the neck of my enemies
  15. 2 Samuel 22:51 DSS read He gives great victory to

David’s Song of Praise(A)

22 David sang(B) to the Lord the words of this song when the Lord delivered him from the hand of all his enemies and from the hand of Saul. He said:

“The Lord is my rock,(C) my fortress(D) and my deliverer;(E)
    my God is my rock, in whom I take refuge,(F)
    my shield[a](G) and the horn[b](H) of my salvation.
He is my stronghold,(I) my refuge and my savior—
    from violent people you save me.

“I called to the Lord, who is worthy(J) of praise,
    and have been saved from my enemies.
The waves(K) of death swirled about me;
    the torrents of destruction overwhelmed me.
The cords of the grave(L) coiled around me;
    the snares of death confronted me.

“In my distress(M) I called(N) to the Lord;
    I called out to my God.
From his temple he heard my voice;
    my cry came to his ears.
The earth(O) trembled and quaked,(P)
    the foundations(Q) of the heavens[c] shook;
    they trembled because he was angry.
Smoke rose from his nostrils;
    consuming fire(R) came from his mouth,
    burning coals(S) blazed out of it.
10 He parted the heavens and came down;
    dark clouds(T) were under his feet.
11 He mounted the cherubim(U) and flew;
    he soared[d] on the wings of the wind.(V)
12 He made darkness(W) his canopy around him—
    the dark[e] rain clouds of the sky.
13 Out of the brightness of his presence
    bolts of lightning(X) blazed forth.
14 The Lord thundered(Y) from heaven;
    the voice of the Most High resounded.
15 He shot his arrows(Z) and scattered the enemy,
    with great bolts of lightning he routed them.
16 The valleys of the sea were exposed
    and the foundations of the earth laid bare
at the rebuke(AA) of the Lord,
    at the blast(AB) of breath from his nostrils.

17 “He reached down from on high(AC) and took hold of me;
    he drew(AD) me out of deep waters.
18 He rescued(AE) me from my powerful enemy,
    from my foes, who were too strong for me.
19 They confronted me in the day of my disaster,
    but the Lord was my support.(AF)
20 He brought me out into a spacious(AG) place;
    he rescued(AH) me because he delighted(AI) in me.(AJ)

21 “The Lord has dealt with me according to my righteousness;(AK)
    according to the cleanness(AL) of my hands(AM) he has rewarded me.
22 For I have kept(AN) the ways of the Lord;
    I am not guilty of turning from my God.
23 All his laws are before me;(AO)
    I have not turned(AP) away from his decrees.
24 I have been blameless(AQ) before him
    and have kept myself from sin.
25 The Lord has rewarded me according to my righteousness,(AR)
    according to my cleanness[f] in his sight.

26 “To the faithful you show yourself faithful,
    to the blameless you show yourself blameless,
27 to the pure(AS) you show yourself pure,
    but to the devious you show yourself shrewd.(AT)
28 You save the humble,(AU)
    but your eyes are on the haughty(AV) to bring them low.(AW)
29 You, Lord, are my lamp;(AX)
    the Lord turns my darkness into light.
30 With your help I can advance against a troop[g];
    with my God I can scale a wall.

31 “As for God, his way is perfect:(AY)
    The Lord’s word is flawless;(AZ)
    he shields(BA) all who take refuge in him.
32 For who is God besides the Lord?
    And who is the Rock(BB) except our God?(BC)
33 It is God who arms me with strength[h]
    and keeps my way secure.
34 He makes my feet like the feet of a deer;(BD)
    he causes me to stand on the heights.(BE)
35 He trains my hands(BF) for battle;
    my arms can bend a bow(BG) of bronze.
36 You make your saving help my shield;(BH)
    your help has made[i] me great.
37 You provide a broad path(BI) for my feet,
    so that my ankles do not give way.

38 “I pursued my enemies and crushed them;
    I did not turn back till they were destroyed.
39 I crushed(BJ) them completely, and they could not rise;
    they fell beneath my feet.
40 You armed me with strength for battle;
    you humbled my adversaries before me.(BK)
41 You made my enemies turn their backs(BL) in flight,
    and I destroyed my foes.
42 They cried for help,(BM) but there was no one to save them—(BN)
    to the Lord, but he did not answer.(BO)
43 I beat them as fine as the dust(BP) of the earth;
    I pounded and trampled(BQ) them like mud(BR) in the streets.

44 “You have delivered(BS) me from the attacks of the peoples;
    you have preserved(BT) me as the head of nations.
People(BU) I did not know now serve me,
45     foreigners cower(BV) before me;
    as soon as they hear of me, they obey me.(BW)
46 They all lose heart;
    they come trembling[j](BX) from their strongholds.

47 “The Lord lives! Praise be to my Rock!
    Exalted(BY) be my God, the Rock, my Savior!(BZ)
48 He is the God who avenges(CA) me,(CB)
    who puts the nations under me,
49     who sets me free from my enemies.(CC)
You exalted me(CD) above my foes;
    from a violent man you rescued me.
50 Therefore I will praise you, Lord, among the nations;
    I will sing the praises(CE) of your name.(CF)

51 “He gives his king great victories;(CG)
    he shows unfailing kindness to his anointed,(CH)
    to David(CI) and his descendants forever.”(CJ)


  1. 2 Samuel 22:3 Or sovereign
  2. 2 Samuel 22:3 Horn here symbolizes strength.
  3. 2 Samuel 22:8 Hebrew; Vulgate and Syriac (see also Psalm 18:7) mountains
  4. 2 Samuel 22:11 Many Hebrew manuscripts (see also Psalm 18:10); most Hebrew manuscripts appeared
  5. 2 Samuel 22:12 Septuagint (see also Psalm 18:11); Hebrew massed
  6. 2 Samuel 22:25 Hebrew; Septuagint and Vulgate (see also Psalm 18:24) to the cleanness of my hands
  7. 2 Samuel 22:30 Or can run through a barricade
  8. 2 Samuel 22:33 Dead Sea Scrolls, some Septuagint manuscripts, Vulgate and Syriac (see also Psalm 18:32); Masoretic Text who is my strong refuge
  9. 2 Samuel 22:36 Dead Sea Scrolls; Masoretic Text shield; / you stoop down to make
  10. 2 Samuel 22:46 Some Septuagint manuscripts and Vulgate (see also Psalm 18:45); Masoretic Text they arm themselves

Bible Gateway Sponsors