Joshua 8:24

ISV(i) 24 When Israel had completed executing all of the residents of Ai in the open wilderness where they had chased them, and after all of them—to the very last of them—had been killed by swords, the entire fighting force of Israel returned to Ai and attacked it with swords.