10 Joshua rose early in the morning and mustered the people, and he went up with the elders of Israel before the people of Ai.
11 All the fighting men who were with him went up and drew near before the city and camped north of Ai; there was a valley between him and Ai.
12 And he took about five thousand men and set them in ambush between Bethel and Ai, to the west of the city.
13 So they stationed the forces; all the army was north of the city while the rear guard was west. But Joshua went that night to the middle of the valley.
14 When the king of Ai saw this, the men of the city hurried and rose early and went out to meet Israel for battle—he and all his army—to the meeting place before the Arabah. He did not know that there was an ambush for him behind the city.
15 Then Joshua and all Israel acted like they were beaten before them, and they fled in the direction of the wilderness.
16 All of the people who were in the city were called to pursue after them. As they pursued after Joshua, they were drawn away from the city.