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

Numbers 31:40

And the persons were sixteen thousand; of which the Lord’s tribute was thirty and two persons.

Read in other translations