The otherscameout from the cityto encounterthem, so that they were [trapped] in the midstof Israel,someon thissideand someon that side;and they slewthem untilnoone was leftof those whosurvivedor escaped.
That the triumphingof the wickedis short,And the joyof the godlessmomentary?
and when the LORDyour Goddeliversthem beforeyou and you defeatthem, then you shall utterlydestroythem. You shall makenocovenantwith them and shownofavorto them.
Whilethey are saying,"Peaceand safety!"thendestructionwill comeupon them suddenlylikelabor painsupon a woman with child,and they will not escape.
Now JoshuacapturedMakkedahon that day,and struckit and its kingwith the edgeof the sword;he utterlydestroyedit and everypersonwhowas in it. He leftnosurvivor.Thus he didto the kingof Makkedahjustas he had doneto the kingof Jericho.
They utterlydestroyedeverythingin the city,bothmanand woman,youngand old,and oxand sheepand donkey,with the edgeof the sword.
When Joshuaand allIsraelsawthat the [men in] ambushhad capturedthe cityand that the smokeof the cityascended,they turnedbackand slewthe menof Ai.
But they tookalivethe kingof Aiand broughthim to Joshua.
"Then it will be when you have seizedthe city,that you shall setthe cityon fire.You shall do[it] according to the wordof the LORD.See,I have commandedyou."