Psalm 18:21-24 King James Version (KJV)
21 For I have kept the ways of the Lord, and have not wickedly departed from my God.
22 For all his judgments were before me, and I did not put away his statutes from me.
23 I was also upright before him, and I kept myself from mine iniquity.
24 Therefore hath the Lord recompensed me according to my righteousness, according to the cleanness of my hands in his eyesight.