This is an edited shorten version.
For the director of music. Of David the servant of the LORD. He 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. He said:1 I love you, O LORD, my strength.
2 The LORD is my rock, my fortress and my deliverer;
my God is my rock, in whom I take refuge.
He is my shield, the horn [a] of my salvation, my stronghold.
3 I call to the LORD, who is worthy of praise,
and I am saved from my enemies.
4 The cords of death entangled me;
the torrents of destruction overwhelmed me.
5 The cords of the grave [b] coiled around me;
the snares of death confronted me.
6 In my distress I called to the LORD;
I cried to my God for help.
From his temple he heard my voice;
my cry came before him, into his ears.
9 He parted the heavens and came down;
dark clouds were under his feet.
10 He mounted the cherubim and flew;
he soared on the wings of the wind.
11 He made darkness his covering, his canopy around him—
the dark rain clouds of the sky.
16 He reached down from on high and took hold of me;
he drew me out of deep waters.
17 He rescued me from my powerful enemy,
from my foes, who were too strong for me.
18 They confronted me in the day of my disaster,
but the LORD was my support.
19 He brought me out into a spacious place;
he rescued me because he delighted in me.
25 To the faithful you show yourself faithful,
to the blameless you show yourself blameless,
26 to the pure you show yourself pure,
but to the crooked you show yourself shrewd.
27 You save the humble
but bring low those whose eyes are haughty.
28 You, O LORD, keep my lamp burning;
my God turns my darkness into light.
29 With your help I can advance against a troop [d] ;
with my God I can scale a wall.
30 As for God, his way is perfect;
the word of the LORD is flawless.
He is a shield
for all who take refuge in him.
31 For who is God besides the LORD ?
And who is the Rock except our God?
32 It is God who arms me with strength
and makes my way perfect.
34 He trains my hands for battle;
my arms can bend a bow of bronze.
35 You give me your shield of victory,
and your right hand sustains me;
you stoop down to make me great.
39 You armed me with strength for battle;
you made my adversaries bow at my feet.
40 You made my enemies turn their backs in flight,
and I destroyed my foes.
47 He is the God who avenges me,
who subdues nations under me,
48 who saves me from my enemies.
You exalted me above my foes;
from violent men you rescued me.
49 Therefore I will praise you among the nations, O LORD;
I will sing praises to your name.
50 He gives his king great victories;
he shows unfailing kindness to his anointed,
to David and his descendants forever.