11 All the troops with him marched until they were near the city. They camped north of Ai with the ravine between them and Ai.
12 Joshua had taken about five thousand men and had them hide between Bethel and Ai, west of the city.
13 All the troops were positioned. The main camp was north of the city, and the other troops were hiding west of the city. That night Joshua went down into the middle of the valley.
14 When the king of Ai saw the main camp, he and all his troops got up early in the morning. They rushed out toward the plains to meet Israel for battle, just where ⌊Joshua⌋ expected. However, the king didn’t know there were troops behind the city waiting to attack him.
15 Joshua and all Israel pretended to be defeated. They ran away toward the desert.
16 All the troops in the city were called out to chase them. As they chased Joshua, they were lured away from the city.
17 Not one man was left in Ai or Bethel; they all went after Israel. So the city was left unprotected as they chased Israel.