All the people who were in Ai were assembled to pursue them, so they pursued Joshua and were drawn away from the city.