וַיָּֽשֶׁב־יְהוָ֣ה לִ֣י כְצִדְקִ֑י כְּבֹ֥ר יָ֝דַ֗י לְנֶ֣גֶד עֵינָֽיו׃
Therefore hath the LORD recompensed me according to my righteousness, according to the cleanness of my hands in His eyes.
Read midrashic interpretation of Psalms 18:25: and classical rabbinic exegesis.