David sang1 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,2 my fortress3 and my deliverer;43
my God is my rock, in whom I take refuge,5 my shielda6 and the hornb7 of my salvation. He is my stronghold,8 my refuge and my savior-- from violent people you save me.
"I called to the LORD, who is worthy9 of praise, and have been saved from my enemies.
The waves10 of death swirled about me; the torrents of destruction overwhelmed me.
The cords of the grave11 coiled around me; the snares of death confronted me.
"In my distress12 I called13 to the LORD; I called out to my God. From his temple he heard my voice; my cry came to his ears.
The earth14 trembled and quaked,15 the foundations16 of the heavensc shook; they trembled because he was angry.
Smoke rose from his nostrils; consuming fire17 came from his mouth, burning coals18 blazed out of it.
He parted the heavens and came down; dark clouds19 were under his feet.
He mounted the cherubim20 and flew; he soaredd on the wings of the wind.2112
He made darkness22 his canopy around him-- the darke rain clouds of the sky.
Out of the brightness of his presence bolts of lightning23 blazed forth.
The LORD thundered24 from heaven; the voice of the Most High resounded.
He shot his arrows25 and scattered the enemy, with great bolts of lightning he routed them.
The valleys of the sea were exposed and the foundations of the earth laid bare at the rebuke26 of the LORD, at the blast27 of breath from his nostrils.
"He reached down from on high28 and took hold of me; he drew29 me out of deep waters.
He rescued30 me from my powerful enemy, from my foes, who were too strong for me.
They confronted me in the day of my disaster, but the LORD was my support.3120
He brought me out into a spacious32 place; he rescued33 me because he delighted34 in me.3521
"The LORD has dealt with me according to my righteousness;36 according to the cleanness37 of my hands38 he has rewarded me.
For I have kept39 the ways of the LORD; I am not guilty of turning from my God.
All his laws are before me;40 I have not turned41 away from his decrees.
I have been blameless42 before him and have kept myself from sin.
The LORD has rewarded me according to my righteousness,43 according to my cleannessf in his sight.
"To the faithful you show yourself faithful, to the blameless you show yourself blameless,
to the pure44 you show yourself pure, but to the devious you show yourself shrewd.4528
You save the humble,46 but your eyes are on the haughty47 to bring them low.4829
You, LORD, are my lamp;49 the LORD turns my darkness into light.
With your help I can advance against a troopg; with my God I can scale a wall.
"As for God, his way is perfect;50 the LORD's word is flawless.51 He shields52 all who take refuge in him.
For who is God besides the LORD? And who is the Rock53 except our God?5433
It is God who arms me with strengthh and keeps my way secure.
He makes my feet like the feet of a deer55 and causes me to stand on the heights.5635
He trains my hands57 for battle; my arms can bend a bow58 of bronze.
You make your saving help my shield;59 your help has madei me great.
You provide a broad path60 for my feet, so that my ankles do not give way.
"I pursued my enemies and crushed them; I did not turn back till they were destroyed.
I crushed61 them completely, and they could not rise; they fell beneath my feet.
You armed me with strength for battle; you humbled my adversaries before me.6241
You made my enemies turn their backs63 in flight, and I destroyed my foes.
They cried for help,64 but there was no one to save them--65 to the LORD, but he did not answer.6643
I beat them as fine as the dust67 of the earth; I pounded and trampled68 them like mud69 in the streets.
"You have delivered70 me from the attacks of the peoples; you have preserved71 me as the head of nations. People72 I did not know now serve me,
foreigners cower73 before me; as soon as they hear of me, they obey me.7446
They all lose heart; they come tremblingj75 from their strongholds.
"The LORD lives! Praise be to my Rock! Exalted76 be my God, the Rock, my Savior!7748
He is the God who avenges78 me,79 who puts the nations under me,
who sets me free from my enemies.80 You exalted me81 above my foes; from violent people you rescued me.
Therefore I will praise you, LORD, among the nations; I will sing the praises82 of your name.8351
"He gives his king great victories;84 he shows unfailing kindness to his anointed,85 to David86 and his descendants forever."87