20 The Lord has dealt with me according to my righteousness;
according to the cleanness of my hands he has rewarded me.
21 For I have kept the ways of the Lord;
I am not guilty of turning from my God.
22 All his laws are before me;
I have not turned away from his decrees.
23 I have been blameless before him
and have kept myself from sin.
24 The Lord has rewarded me according to my righteousness,
according to the cleanness of my hands in his sight.
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 devious you show yourself shrewd.
27 You save the humble
but bring low those whose eyes are haughty.
28 You, Lord, keep my lamp burning;
my God turns my darkness into light.
29 With your help I can advance against a troop;
with my God I can scale a wall.
30 As for God, his way is perfect:
The Lord’s word is flawless;
he shields 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 keeps my way secure.
33 He makes my feet like the feet of a deer;
he causes me to stand on the heights.
34 He trains my hands for battle;
my arms can bend a bow of bronze.
35 You make your saving help my shield,
and your right hand sustains me;
your help has made me great.
36 You provide a broad path for my feet,
so that my ankles do not give way.