2 Samuel 22:23-25

NHEB(i) 23 For all his ordinances were before me, and his statutes I did not put away from me. 24 I was also perfect toward him. I kept myself from my iniquity. 25 Therefore the LORD has rewarded me according to my righteousness, according to the cleanness of my hands in his sight.