2 Samuel 22:27

25 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;

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

28 You save an afflicted people, but Your eyes are on the haughty to bring them down.

29 For You, O LORD, are my lamp; the LORD lights up my darkness.

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

Compare

BSB
to the pure You show Yourself pure, but to the crooked You show Yourself shrewd.
KJV
With the pure thou wilt shew thyself pure; and with the froward thou wilt shew thyself unsavoury.
WEB
With the pure you will show yourself pure. With the crooked you will show yourself shrewd.
ASV
With the pure thou wilt show thyself pure; And with the perverse thou wilt show thyself froward.
DARBY
With the pure thou dost shew thyself pure; And with the perverse thou dost shew thyself contrary.
BLB
with the pure You show Yourself pure, and with the crooked You show Yourself shrewd.
ÅB
mot den rene viser du deg ren, mot den forvendte viser du deg vrang[^2].
OTB
Med den rene viser Du Deg ren,
Men med den forvridde viser Du Deg klok.
B1930
mot den rene viser du dig ren, mot den forvendte viser du dig vrang. / < d.e. gjør du tvert imot hans ønske og forventning.>

Study notes (Tyndale)

Original text and word study

Cross references