Joshua 8:10-13-24-25 MSG

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.

15-17 Joshua and all Israel let themselves be chased; they ran toward the wilderness. Everybody in the city was called to the chase. They pursued Joshua and were led away from the city. There wasn’t a soul left in Ai or Bethel who wasn’t out there chasing after Israel. The city was left empty and undefended as they were chasing Israel down.

18-19 Then God spoke to Joshua: “Stretch out the javelin in your hand toward Ai—I’m giving it to you.” Joshua stretched out the javelin in his hand toward Ai. At the signal the men in ambush sprang to their feet, ran to the city, took it, and quickly had it up in flames.

20-21 The men of Ai looked back and, oh! saw the city going up in smoke. They found themselves trapped with nowhere to run. The army on the run toward the wilderness did an about-face—Joshua and all Israel, seeing that the ambush had taken the city, saw it going up in smoke, turned and attacked the men of Ai.

22-23 Then the men in the ambush poured out of the city. The men of Ai were caught in the middle with Israelites on both sides—a real massacre. And not a single survivor. Except for the king of Ai; they took him alive and brought him to Joshua.

24-25 When it was all over, Israel had killed everyone in Ai, whether in the fields or in the wilderness where they had chased them. When the killing was complete, the Israelites returned to Ai and completed the devastation. The death toll that day came to twelve thousand men and women—everyone in Ai.