Old Testament readings use the Septuagint , the Scripture the apostles quoted. Masoretic numbering shown for reference.Learn why
KJV

2 Samuel 22:26

With the merciful thou wilt shew thyself merciful, and with the upright man thou wilt shew thyself upright.

Read in other translations