When Joshua and all Israel saw the ambush had captured the city with the smoke rising, they turned around and killed the men of Ai.