David spoke to the Lord the words of this song on the day 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, my fortress, and my deliverer,
my God, my rock, in whom I take refuge, my shield and the horn of my salvation, my stronghold and my refuge, my savior; you save me from violence.
I call upon the Lord, who is worthy to be praised, and I am saved from my enemies.
For the waves of death encompassed me, the torrents of perdition assailed me;
the cords of Sheol entangled me, the snares of death confronted me.
In my distress I called upon the Lord; to my God I called. From his temple he heard my voice, and my cry came to his ears.
Then the earth reeled and rocked; the foundations of the heavens trembled and quaked, because he was angry.
Smoke went up from his nostrils, and devouring fire from his mouth; glowing coals flamed forth from him.
He bowed the heavens, and came down; thick darkness was under his feet.
He rode on a cherub, and flew; he was seen upon the wings of the wind.
He made darkness around him a canopy, thick clouds, a gathering of water.
Out of the brightness before him coals of fire flamed forth.
The Lord thundered from heaven; the Most High uttered his voice.
He sent out arrows, and scattered them —lightning, and routed them.
Then the channels of the sea were seen, the foundations of the world were laid bare at the rebuke of the Lord, at the blast of the breath of his nostrils.
He reached from on high, he took me, he drew me out of mighty waters.
He delivered me from my strong enemy, from those who hated me; for they were too mighty for me.
They came upon me in the day of my calamity, but the Lord was my stay.
He brought me out into a broad place; he delivered me, because he delighted in me.
The Lord rewarded me according to my righteousness; according to the cleanness of my hands he recompensed me.
For I have kept the ways of the Lord, and have not wickedly departed from my God.
For all his ordinances were before me, and from his statutes I did not turn aside.
I was blameless before him, and I kept myself from guilt.
Therefore the Lord has recompensed me according to my righteousness, according to my cleanness in his sight.
With the loyal you show yourself loyal; with the blameless you show yourself blameless;
with the pure you show yourself pure, and with the crooked you show yourself perverse.
You deliver a humble people, but your eyes are upon the haughty to bring them down.
Indeed, you are my lamp, O Lord, the Lord lightens my darkness.
By you I can crush a troop, and by my God I can leap over a wall.
This God—his way is perfect; the promise of the Lord proves true; he is a shield for all who take refuge in him.
For who is God, but the Lord? And who is a rock, except our God?
The God who has girded me with strength has opened wide my path.
He made my feet like the feet of deer, and set me secure on the heights.
He trains my hands for war, so that my arms can bend a bow of bronze.
You have given me the shield of your salvation, and your help has made me great.
You have made me stride freely, and my feet do not slip;
I pursued my enemies and destroyed them, and did not turn back until they were consumed.
I consumed them; I struck them down, so that they did not rise; they fell under my feet.
For you girded me with strength for the battle; you made my assailants sink under me.
You made my enemies turn their backs to me, those who hated me, and I destroyed them.
They looked, but there was no one to save them; they cried to the Lord, but he did not answer them.
I beat them fine like the dust of the earth, I crushed them and stamped them down like the mire of the streets.
You delivered me from strife with the peoples; you kept me as the head of the nations; people whom I had not known served me.
Foreigners came cringing to me; as soon as they heard of me, they obeyed me.
Foreigners lost heart, and came trembling out of their strongholds.
The Lord lives! Blessed be my rock, and exalted be my God, the rock of my salvation,
the God who gave me vengeance and brought down peoples under me,
who brought me out from my enemies; you exalted me above my adversaries, you delivered me from the violent.
For this I will extol you, O Lord, among the nations, and sing praises to your name.
He is a tower of salvation for his king, and shows steadfast love to his anointed, to David and his descendants forever.