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

Joshua 8:25

And so it was, that all that fell that day, both of men and women, were twelve thousand, even all the men of Ai.

Read in other translations