Psalms 18:21-24

MLV(i) 21 Because I have kept the ways of Jehovah and have not wickedly departed from my God.
22 Because all his ordinances were before me and I put not away his statutes from me. 23 I was also perfect with him and I kept myself from my iniquity.
24 Therefore Jehovah has recompensed me according to my righteousness, according to the cleanness of my hands in his eyesight.