20The Lord rewarded me according to my righteousness; according to the cleanness of my hands he recompensed me.

21For I have kept the ways of the Lord, and have not wickedly departed from my God.

22For all his ordinances were before me, and his statutes I did not put away from me.

23I was blameless before him, and I kept myself from guilt.

24Therefore the Lord has recompensed me according to my righteousness, according to the cleanness of my hands in his sight.

25With the loyal you show yourself loyal; with the blameless you show yourself blameless;

26with the pure you show yourself pure; and with the crooked you show yourself perverse.

27For you deliver a humble people, but the haughty eyes you bring down.

28It is you who light my lamp; the Lord, my God, lights up my darkness.

29By you I can crush a troop, and by my God I can leap over a wall.

30This God—his way is perfect; the promise of the Lord proves true; he is a shield for all who take refuge in him.

From the oremus Bible Browser https://bible.oremus.org v2.5.2 2 April 2021.