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

Joshua 8:25

And they that fell in that day, men and women, were twelve thousand: [they slew] all the inhabitants of Gai.

Read in other translations