1 David sang 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.

2 He said: "The LORD is my rock, my fortress and my deliverer;

3 my God is my rock, in whom I take refuge, my shield "and the horn "of my salvation. He is my stronghold, my refuge and my savior — from violent people you save me.

4 "I called to the LORD, who is worthy of praise, and have been saved from my enemies.

5 The waves of death swirled about me; the torrents of destruction overwhelmed me.

6 The cords of the grave coiled around me; the snares of death confronted me.

7 "In my distress I called to the LORD; I called out to my God. From his temple he heard my voice; my cry came to his ears.

8 The earth trembled and quaked, the foundations of the heavens "shook; they trembled because he was angry.

9 Smoke rose from his nostrils; consuming fire came from his mouth, burning coals blazed out of it.

10 He parted the heavens and came down; dark clouds were under his feet.

11 He mounted the cherubim and flew; he soared "on the wings of the wind.

12 He made darkness his canopy around him — the dark "rain clouds of the sky.

13 Out of the brightness of his presence bolts of lightning blazed forth.

14 The LORD thundered from heaven; the voice of the Most High resounded.

15 He shot his arrows 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 of the LORD, at the blast of breath from his nostrils.

17 "He reached down from on high and took hold of me; he drew me out of deep waters.

18 He rescued 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.

20 He brought me out into a spacious place; he rescued me because he delighted in me.

21 "The LORD has dealt with me according to my righteousness; according to the cleanness of my hands he has rewarded me.

22 For I have kept the ways of the LORD; I am not guilty of turning from my God.

23 All his laws are before me; I have not turned away from his decrees.

24 I have been blameless before him and have kept myself from sin.

25 The LORD has rewarded me according to my righteousness, according to my cleanness "in his sight.

26 "To the faithful you show yourself faithful, to the blameless you show yourself blameless,

27 to the pure you show yourself pure, but to the devious you show yourself shrewd.

28 You save the humble, but your eyes are on the haughty to bring them low.

29 You, LORD, are my lamp; the LORD turns my darkness into light.

30 With your help I can advance against a troop "; with my God I can scale a wall.

31 "As for God, his way is perfect: The LORD's word is flawless; he shields all who take refuge in him.

32 For who is God besides the LORD? And who is the Rock except our God?

33 It is God who arms me with strength "and keeps my way secure.

34 He makes my feet like the feet of a deer; he causes me to stand on the heights.

35 He trains my hands for battle; my arms can bend a bow of bronze.

36 You make your saving help my shield; your help has made "me great.

37 You provide a broad path 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 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.

41 You made my enemies turn their backs in flight, and I destroyed my foes.

42 They cried for help, but there was no one to save them — to the LORD, but he did not answer.

43 I beat them as fine as the dust of the earth; I pounded and trampled them like mud in the streets.

44 "You have delivered me from the attacks of the peoples; you have preserved me as the head of nations. People I did not know now serve me,

45 foreigners cower before me; as soon as they hear of me, they obey me.

46 They all lose heart; they come trembling "from their strongholds.

47 "The LORD lives! Praise be to my Rock! Exalted be my God, the Rock, my Savior!

48 He is the God who avenges me, who puts the nations under me,

49 who sets me free from my enemies. You exalted me 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 of your name.

51 "He gives his king great victories; he shows unfailing kindness to his anointed, to David and his descendants forever."

1 And David spoke to 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 compassed me, the floods of ungodly men made me afraid;

6 The sorrows of hell compassed me about; the snares of death prevented me;

7 In my distress I called on 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 wroth.

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 darkness was under his feet.

11 And he rode on a cherub, and did fly: and he was seen on 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 discomfited 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 prevented me in the day of my calamity: but the LORD was my stay.

20 He brought me forth also into a large 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 eye sight.

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 fraudulent you will show yourself unsavory.

28 And the afflicted people you will save: but your eyes are on the haughty, that you may bring them down.

29 For you are my lamp, O LORD: and the LORD will lighten my darkness.

30 For by you I have run through 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 tried: he is a buckler to all them that trust in him.

32 For who is God, save the LORD? and who is a rock, save 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 on my high places.

35 He teaches my hands to 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 steps 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: yes, 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 to 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 heathen: a people which I knew not shall serve me.

45 Strangers shall submit themselves to me: as soon as they hear, they shall be obedient to me.

46 Strangers shall fade away, and they shall be afraid out of their close places.

47 The LORD lives; and blessed be my rock; and exalted be the God of 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 to you, O LORD, among the heathen, and I will sing praises to your name.

51 He is the tower of salvation for his king: and shows mercy to his anointed, to David, and to his seed for ever more.