Psalms 18:20-26

MLV(i) 20 Jehovah has rewarded me according to my righteousness. According to the cleanness of my hands he has recompensed me. 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.
25 You will show yourself merciful with the merciful. You will show yourself perfect with the perfect man. 26 You will show yourself pure with the pure.And with the perverse you will show yourself contrary.