7 And you shall rise from your ambush and take possession of the city, for the Lord your God will deliver it into your hand.
8 Then it will be when you have seized the city, that you shall set the city on fire. You shall do it according to the word of the Lord. See, I have commanded you."
9 So Joshua sent them away, and they went to the place of ambush and remained between Bethel and Ai, on the west side of Ai; but Joshua spent that night among the people.
10 Now Joshua rose early in the morning and mustered the people, and he went up with the elders of Israel before the people to Ai.
11 Then all the people of war who were with him went up and drew near and arrived in front of the city, and camped on the north side of Ai. Now there was a valley between him and Ai.
12 And he took about 5,000 men and set them in ambush between Bethel and Ai, on the west side of the city.
13 So they stationed the people, all the army that was on the north side of the city, and its rear guard on the west side of the city, and Joshua spent that night in the midst of the valley.