Psalm 18:20-32 New Revised Standard Version (NRSV)
20 The Lord rewarded me according to my righteousness;
according to the cleanness of my hands he recompensed me.
21 For I have kept the ways of the Lord,
and have not wickedly departed from my God.
22 For all his ordinances were before me,
and his statutes I did not put away from me.
23 I was blameless before him,
and I kept myself from guilt.
24 Therefore the Lord has recompensed me according to my righteousness,
according to the cleanness of my hands in his sight.
25 With the loyal you show yourself loyal;
with the blameless you show yourself blameless;
26 with the pure you show yourself pure;
and with the crooked you show yourself perverse.
27 For you deliver a humble people,
but the haughty eyes you bring down.
28 It is you who light my lamp;
the Lord, my God, lights up my darkness.
29 By you I can crush a troop,
and by my God I can leap over a wall.
30 This God—his way is perfect;
the promise of the Lord proves true;
he is a shield for all who take refuge in him.
31 For who is God except the Lord?
And who is a rock besides our God?—
32 the God who girded me with strength,
and made my way safe.