2 Samuel 22:25

23 For all His ordinances are before me; I have not disregarded His statutes.

24 And I have been blameless before Him and kept myself from iniquity.

So the LORD has repaid me according to my righteousness, according to my cleanness in His sight.

26 To the faithful You show Yourself faithful, to the blameless You show Yourself blameless;

27 to the pure You show Yourself pure, but to the crooked You show Yourself shrewd.

Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
So the LORD has repaid me according to my righteousness, according to my cleanness in His sight.
KJV
Therefore the LORD hath recompensed me according to my righteousness; according to my cleanness in his eye sight.
WEB
Therefore the LORD has rewarded me according to my righteousness, According to my cleanness in his eyesight.
ASV
Therefore hath Jehovah recompensed me according to my righteousness, According to my cleanness in his eyesight.
DARBY
And Jehovah hath recompensed me according to my righteousness, According to my cleanness in his sight.
BLB
And YHWH has repaid me according to my righteousness, according to my cleanness before His eyes.
ÅB
Og Herren gjengjeldte meg etter min rettferdighet, etter min renhet for hans øyne.
OTB
Derfor har Herren gjengjeldt meg etter min rettferdighet,
Etter min renhet foran Hans øyne.
B1930
Og Herren gjengjeldte mig efter min rettferdighet, efter min renhet for hans øine.

Study notes (Tyndale)

Original text and word study

Cross references