The moment they began their shouts and praises, the Lord set an ambush against the Ammonites, Moabites, and the inhabitants of Mount Seir who came to fight against Judah, and they were defeated.
He who makes a fortune unjustly is like a partridge that hatches eggs it didn’t lay. In the middle of his days his riches will abandon him, so in the end he will be a fool.
Raise up a signal flag against the walls of Babylon; fortify the watch post; set the watchmen in place; prepare the ambush. For the Lord has both planned and accomplished what He has threatened against those who live in Babylon.
But you may take the women, children, animals, and whatever else is in the city — all its spoil — as plunder. You may enjoy the spoil of your enemies that the Lord your God has given you.
But the Lord said to me, ‘Do not fear him, for I have handed him over to you along with his whole army and his land. Do to him as you did to Sihon king of the Amorites, who lived in Heshbon.’
Now Adoni-zedek king of Jerusalem heard that Joshua had captured Ai and completely destroyed it, treating Ai and its king as he had Jericho and its king, and that the inhabitants of Gibeon had made peace with Israel and were living among them.
On that day Joshua captured Makkedah and struck it down with the sword, including its king. He completely destroyed it and everyone in it, leaving no survivors. So he treated the king of Makkedah as he had the king of Jericho.
The Israelites plundered all the spoils and cattle of these cities for themselves. But they struck down every person with the sword until they had annihilated them, leaving no one alive.
When the king of Ai saw the Israelites, the men of the city hurried and went out early in the morning so that he and all his people could engage Israel in battle at a suitable place facing the Arabah. But he did not know there was an ambush waiting for him behind the city.
When he held out his hand, the men in ambush rose quickly from their position. They ran, entered the city, captured it, and immediately set it on fire.
When Israel had finished killing everyone living in Ai who had pursued them into the open country, and when every last one of them had fallen by the sword, all Israel returned to Ai and struck it down with the sword.
So Joshua sent them out, and they went to the ambush site and waited between Bethel and Ai, to the west of Ai. But he spent that night with the troops.