11And all the fighting-men who were with him went up and came near the town, and took up a position on the north side of Ai facing the town, with a valley between him and the town.
12And taking about five thousand men, he put them in position for a surprise attack on the west side of Ai, between Beth-el and Ai.
13So all the people were in their places, the army on the north side of the town and the secret force on the west; and that night Joshua went down into the valley.
14Now when the king of Ai saw it, he got up quickly and went out to war against Israel, he and all his people, to the slope going down to the valley; but he had no idea that a secret force was waiting at the back of the town.
15Then Joshua and all Israel, acting as if they were overcome before them, went in flight by way of the waste land.
16And all the people in Ai came together to go after them; and they went after Joshua, moving away from the town.
17There was not a man in Ai and Beth-el who did not go out after Israel; and the town was open and unwatched while they went after Israel.