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