Psalm 18:1-24 (ESV)
The Lord Is My Rock and My Fortress
To the choirmaster. A Psalm of David, the servant of the Lord, who addressed the words of this song to the Lord on the day when the Lord rescued him from the hand of all his enemies, and from the hand of Saul. He said:
18:1 I love you, O Lord, my strength.
2 The Lord is my rock and my fortress and my deliverer,
my God, my rock, in whom I take refuge,
my shield, and the horn of my salvation, my stronghold.
3 I call upon the Lord, who is worthy to be praised,
and I am saved from my enemies.
4 The cords of death encompassed me;
the torrents of destruction assailed me; 
5 the cords of Sheol entangled me;
the snares of death confronted me.
6 In my distress I called upon the Lord;
to my God I cried for help.
From his temple he heard my voice,
and my cry to him reached his ears.
7 Then the earth reeled and rocked;
the foundations also of the mountains trembled
and quaked, because he was angry.
8 Smoke went up from his nostrils, 
and devouring fire from his mouth;
glowing coals flamed forth from him.
9 He bowed the heavens and came down;
thick darkness was under his feet.
10 He rode on a cherub and flew;
he came swiftly on the wings of the wind.
11 He made darkness his covering, his canopy around him,
thick clouds dark with water.
12 Out of the brightness before him
hailstones and coals of fire broke through his clouds.
13 The Lord also thundered in the heavens,
and the Most High uttered his voice,
hailstones and coals of fire.
14 And he sent out his arrows and scattered them;
he flashed forth lightnings and routed them.
15 Then the channels of the sea were seen,
and the foundations of the world were laid bare
at your rebuke, O Lord,
at the blast of the breath of your nostrils.
16 He sent from on high, he took me;
he drew me out of many waters.
17 He rescued me from my strong enemy
and from those who hated me,
for they were too mighty for me.
18 They confronted me in the day of my calamity,
but the Lord was my support.
19 He brought me out into a broad place;
he rescued me, because he delighted in me.
20 The Lord dealt with me according to my righteousness;
according to the cleanness of my hands he rewarded me.
21 For I have kept the ways of the Lord,
and have not wickedly departed from my God.
22 For all his rules  were before me,
and his statutes I did not put away from me.
23 I was blameless before him,
and I kept myself from my guilt.
24 So the Lord has rewarded me according to my righteousness,
according to the cleanness of my hands in his sight.