When Joshua and all Israel saw that the men in ambush had captured the city and that the smoke of the city ascended, they turned back and slew the men of Ai.