8 And when you capture the city you will set it on fire as Yahweh commanded. Look, I have commanded you.”
9 So Joshua sent them out, and they went to the place of the ambush, and they sat between Bethel and Ai, to the west of Ai; but Joshua spent the night with the people.
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.