1 And David spoke to LORD the words of this song in the day that LORD delivered him out of the hand of all his enemies, and out of the hand of Saul:

2 And he said, LORD is my rock, and my fortress, and my deliverer, even mine.

3 God, my rock, in him I will take refuge, my shield, and the horn of my salvation, my high tower, and my refuge, my savior. Thou save me from violence.

4 I will call upon LORD, who is worthy to be praised. So I shall be saved from my enemies.

5 For the waves of death encompassed me. The floods of ungodliness made me afraid.

6 The cords of Sheol were round about me. The snares of death came upon me.

7 In my distress I called upon LORD. Yea, I called to my God. And he heard my voice out of his temple, and my cry [came] into his ears.

8 Then the earth shook and trembled, the foundations of heaven quaked and were shaken, because he was angry.

9 There went up a 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 thick darkness was under his feet.

11 And he rode upon a cherub, and flew. Yea, he was seen upon the wings of the wind.

12 And he made darkness pavilions round about him, gathering of waters, thick clouds of the skies.

13 At the brightness before him coals of fire were kindled.

14 LORD thundered from heaven, and the Most High uttered his voice.

15 And he sent out arrows, and scattered them, lightning, and discomfited them.

16 Then the channels of the sea appeared. The foundations of the world were laid bare by the rebuke of LORD, at the blast of the breath of his nostrils.

17 He sent from on high, he took me. He drew me out of many waters.

18 He delivered me from my strong enemy, from those who hated me, for they were too mighty for me.

19 They came upon me in the day of my calamity, but LORD was my support.

20 He brought me forth also into a large place. He delivered me, because he delighted in me.

21 LORD rewarded me according to my righteousness. According to the cleanness of my hands he has rewarded me.

22 For I have kept the ways of LORD, and have not wickedly departed from my God.

23 For all his ordinances were before me. And as for his statutes, I did not depart from them.

24 I was also perfect toward him, and I kept myself from my iniquity.

25 Therefore LORD has recompensed me according to my righteousness, according to my cleanness in his eyesight.

26 With the merciful thou will show thyself merciful. With the perfect man thou will show thyself perfect.

27 With the pure thou will show thyself pure. And with the perverse thou will show thyself contrary.

28 And the afflicted people thou will save, but thine eyes are upon the haughty, that thou may bring them down.

29 For thou are my lamp, O LORD. And LORD will lighten my darkness.

30 For by thee I run upon a troop. By my God do I leap over a wall.

31 As for God, his way is perfect. The word of LORD is tried. He is a shield to all those who take refuge in him.

32 For who is God, except LORD? And who is a rock, except our God?

33 God is my strong fortress, and he guides the perfect in his way.

34 He makes his feet like hinds' [feet], and sets me upon my high places.

35 He teaches my hands to war, so that my arms bend a bow of brass.

36 Thou have also given me the shield of thy salvation, and thy gentleness has made me great.

37 Thou have enlarged my steps under me, and my feet have not slipped.

38 I have pursued my enemies, and destroyed them, neither did I turn again till they were consumed.

39 And I have consumed them, and smitten them through, so that they cannot arise. Yea, they are fallen under my feet.

40 For thou have girded me with strength to the battle. Thou have subdued under me those who rose up against me.

41 Thou have also made my enemies turn their backs to me that I might cut off those who hate me.

42 They looked, but there was none to save; even to LORD, but he did not answer them.

43 Then I beat them small as the dust of the earth. I crushed them as the mire of the streets, and spread them abroad.

44 Thou have also delivered me from the strivings of my people. Thou have kept me to be the head of the nations. A people whom I have not known shall serve me.

45 The foreigners shall submit themselves to me. As soon as they hear of me, they shall obey me.

46 The foreigners shall fade away, and shall come trembling out of their hiding places.

47 LORD lives. And blessed be my rock. And exalted be God, the rock of my salvation,

48 Even the God who executes vengeance for me, and who brings down peoples under me,

49 and who brings me forth from my enemies. Yea, thou lift me up above those who rise up against me. Thou deliver me from the violent man.

50 Therefore I will give thanks to thee, O LORD, among gentiles, and will sing praises to thy name.

51 He gives great deliverance to his king, and shows loving kindness to his anointed, to David and to his seed, for evermore.