Psalms 18:21-24

ISV(i) 21 because I have kept the ways of the LORD, and I have not wickedly departed from my God; 22 because all his judgments were always before me, and I did not cast off his statutes. 23 I was upright before him, and I kept myself from iniquity. 24 So the LORD restored me according to my righteousness, because my hands were clean in his sight.