25 Twelve thousand men and women fell that day—all the people of Ai.

Read Joshua 8:25 Using Other Translations

And so it was, that all that fell that day, both of men and women, were twelve thousand, even all the men of Ai.
And all who fell that day, both men and women, were 12,000, all the people of Ai.
So the entire population of Ai, including men and women, was wiped out that day—12,000 in all.