21 Joshua and all of his men saw that the men who had been hiding behind the city had captured it. They also saw the smoke that was going up from it. So they turned around and attacked the men of Ai.