SEV Biblia, Chapter 8:25
Y el número de los que cayeron aquel día, hombres y mujeres, fue doce mil, todos los varones de Hai.
John Gill's Bible Commentary
Ver. 25. And [so] it was, [that] all that fell that day , etc.] Partly in the city, and partly in the field, both by the ambush and the army: both of men and women; [were] twelve thousand, [even] all the men of Ai ; so that the city was not a very large one, and the numbers of inhabitants were comparatively but few, as in ( Joshua 7:3).
Matthew Henry Commentary
Verses 23-29 - God, the righteous Judge, had sentenced the Canaanites for their wickedness; the Israelites only executed his doom. None of their conduct can be drawn into an example for others. Especial reason n doubt there was for this severity to the king of Ai; it is likely he had been notoriously wicked and vile, and a blasphemer of the God of Israel.
Original Hebrew
ויהי 1961 כל 3605 הנפלים 5307 ביום 3117 ההוא 1931 מאישׁ 376 ועד 5704 אשׁה 802 שׁנים 8147 עשׂר 6240 אלף 505 כל 3605 אנשׁי 376 העי׃ 5857