2 Samuel 22:23

21 The LORD rewarded me according to my righteousness: according to the cleanness of my hands hath he recompensed me.

22 For I have kept the ways of the LORD, and have not wickedly departed from my God.

For all his judgments were before me: and as for his statutes, I did not depart from them.

24 I was also upright before him, and have kept myself from mine iniquity.

25 Therefore the LORD hath recompensed me according to my righteousness; according to my cleanness in his eye sight.

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

Compare

BSB
For all His ordinances are before me; I have not disregarded His statutes.
KJV
For all his judgments were before me: and as for his statutes, I did not depart from them.
WEB
For all his ordinances were before me. As for his statutes, I didn’t depart from them.
ASV
For all his ordinances were before me; And as for his statutes, I did not depart from them.
DARBY
For all his ordinances were before me, And his statutes, I did not depart from them,
BLB
For all His ordinances [are] before me, and His statutes—I have not turned away from them.
ÅB
for alle hans lover hadde jeg for øye, og fra hans bud vek jeg ikke,
OTB
For alle Hans forskrifter var foran meg,
Og jeg vendte meg ikke bort fra Hans lover.
B1930
for alle hans lover hadde jeg for øie, og fra hans bud vek jeg ikke,

Study notes (Tyndale)

Original text and word study

Cross references