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

2 Samuel 23:12

And he stood firm in the midst of the portion, and rescued it, and smote the Philistines; and the Lord wrought a great deliverance.

Read in other translations