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

Numbers 31:2

Avenge the children of Israel of the Midianites: afterward shalt thou be gathered unto thy people.

Read in other translations