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

2 Samuel 23:12

But he stood in the midst of the ground, and defended it, and slew the Philistines: and the Lord wrought a great victory.

Read in other translations