Psalms 18:23-26

KJV(i) 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. 25 With the merciful thou wilt shew thyself merciful; with an upright man thou wilt shew thyself upright; 26 With the pure thou wilt shew thyself pure; and with the froward thou wilt shew thyself froward.