Verse 48

And the number of those that had fallen of the men of Ai, both man and woman, was twelve thousand; only the cattle and the spoil of the city they took to themselves, according to the word of the Lord to Joshua.