All the men of Ai and the men of Bethel pursued the Israeli army. They did not leave even one man in Ai to defend it. The gates of the city were left wide open.