1 And David spoke unto the LORD the words of this song in the day that the LORD had delivered him out of the hand of all his enemies, and out of the hand of Saul:
2 And he said, The LORD is my rock, and my fortress, and my deliverer;
3 The God of my rock; in him will I trust: he is my shield, and the horn of my salvation, my high tower, and my refuge, my savior; you save me from violence.
4 I will call on the LORD, who is worthy to be praised: so shall I be saved from my enemies.
5 When the waves of death surrounded me, the floods of ungodly men made me afraid;
6 The sorrows of Sheol surrounded me; the snares of death confronted me;
7 In my distress I called upon the LORD, and cried to my God: and he did hear my voice out of his temple, and my cry did enter into his ears.
8 Then the earth shook and trembled; the foundations of heaven moved and shook, because he was angry.
9 There went up smoke out of his nostrils, and fire out of his mouth devoured: coals were kindled by it.
10 He bowed the heavens also, and came down; and darkness was under his feet.
11 And he rode upon a cherub, and did fly: and he was seen upon the wings of the wind.
12 And he made darkness pavilions round about him, dark waters, and thick clouds of the skies.
13 Through the brightness before him were coals of fire kindled.
14 The LORD thundered from heaven, and the most High uttered his voice.
15 And he sent out arrows, and scattered them; lightning, and vanquished them.
16 And the channels of the sea appeared, the foundations of the world were discovered, at the rebuking of the LORD, at the blast of the breath of his nostrils.
17 He sent from above, he took me; he drew me out of many waters;
18 He delivered me from my strong enemy, and from them that hated me: for they were too strong for me.
19 They confronted me in the day of my calamity: but the LORD was my stay.
20 He brought me forth also into a broad place: he delivered me, because he delighted in me.
21 The LORD rewarded me according to my righteousness: according to the cleanness of my hands has he recompensed me.
22 For I have kept the ways of the LORD, and have not wickedly departed from my God.
23 For all his judgments were before me: and as for his statutes, I did not depart from them.
24 I was also upright before him, and have kept myself from my iniquity.
25 Therefore the LORD has recompensed me according to my righteousness; according to my cleanness in his eyesight.
26 With the merciful you will show yourself merciful, and with the upright man you will show yourself upright.
27 With the pure you will show yourself pure; and with the devious you will show yourself shrewd.
28 And the afflicted people you will save: but your eyes are upon the haughty, that you may bring them down.
29 For you are my lamp, O LORD: and the LORD will enlighten my darkness.
30 For by you I can run against a troop: by my God have I leaped over a wall.
31 As for God, his way is perfect; the word of the LORD is proven: he is a buckler to all them that trust in him.
32 For who is God, except the LORD? and who is a rock, except our God?
33 God is my strength and power: and he makes my way perfect.
34 He makes my feet like hindsâ€™ feet: and sets me upon my high places.
35 He teaches my hands to make war; so that a bow of steel is broken by my arms.
36 You have also given me the shield of your salvation: and your gentleness has made me great.
37 You have enlarged my path under me; so that my feet did not slip.
38 I have pursued my enemies, and destroyed them; and turned not again until I had consumed them.
39 And I have consumed them, and wounded them, that they could not arise: yea, they are fallen under my feet.
40 For you have girded me with strength to battle: them that rose up against me have you subdued under me.
41 You have also given me the necks of my enemies, that I might destroy them that hate me.
42 They looked, but there was none to save; even unto the LORD, but he answered them not.
43 Then did I beat them as small as the dust of the earth, I did stamp them as the mire of the street, and did spread them abroad.
44 You also have delivered me from the strivings of my people, you have kept me to be head of the nations: a people whom I knew not shall serve me.
45 Strangers shall submit themselves unto me: as soon as they hear, they shall be obedient unto me.
46 Strangers shall fade away, and they shall be afraid coming out of their hiding places.
47 The LORD lives; and blessed be my rock; and exalted be God, the rock of my salvation.
48 It is God that avenges me, and that brings down the people under me,
49 And that brings me forth from my enemies: you also have lifted me up on high above them that rose up against me: you have delivered me from the violent man.
50 Therefore I will give thanks unto you, O LORD, among the nations, and I will sing praises unto your name.
51 He is the tower of salvation for his king: and shows mercy to his anointed, unto David, and to his descendants forevermore.