II Samuel 22:24 Midrash

וָאֶהְיֶ֥ה תָמִ֖ים ל֑וֹ וָאֶשְׁתַּמְּרָ֖ה מֵעֲוֺנִֽי׃

And I was single-hearted toward Him, And I kept myself from mine iniquity.

Read midrashic interpretation of II Samuel 22:24: and classical rabbinic exegesis.