1. God said to Joshua, “Don’t be timid and don’t so much as hesitate. Take all your soldiers with you and go back to Ai. I have turned the king of Ai over to you—his people, his city, and his land.
2. “Do to Ai and its king what you did to Jericho and its king. Only this time you may plunder its stuff and cattle to your heart’s content. Set an ambush behind the city.”
9. Joshua sent them off. They set their ambush and waited between Bethel and Ai, just west of Ai. Joshua spent the night with the people.
10-13. Joshua was up early in the morning and mustered his army. He and the leaders of Israel led the troops to Ai. The whole army, fighting men all, marched right up within sight of the city and set camp on the north side of Ai. There was a valley between them and Ai. He had taken about five thousand men and put them in ambush between Bethel and Ai, west of the city. They were all deployed, the main army to the north of the city and the ambush to the west. Joshua spent the night in the valley.
14. So it happened that when the king of Ai saw all this, the men of the city lost no time; they were out of there at the crack of dawn to join Israel in battle, the king and his troops, at a field en route to the Arabah. The king didn’t know of the ambush set against him behind the city.