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

2 Samuel 22:51

He magnifies the salvation of his king, and works mercy for his anointed, even for David and for his seed for ever.

Read in other translations