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

2 Samuel 18:1

And David numbered the people that were with him, and set captains of thousands and captains of hundreds over them.

Read in other translations