1Now Adoni-zedek king of Jerusalem heard that Joshua had captured Ai and devoted it to destruction—doing to Ai and its king as he had done to Jericho and its king—and that the people of Gibeon had made peace with Israel and were living near them.
2So Adoni-zedek and his people were greatly alarmed, because Gibeon was a great city, like one of the royal cities; it was larger than Ai, and all its men were mighty.
3Therefore Adoni-zedek king of Jerusalem sent word to Hoham king of Hebron, Piram king of Jarmuth, Japhia king of Lachish, and Debir king of Eglon, saying,
5So the five kings of the Amorites—the kings of Jerusalem, Hebron, Jarmuth, Lachish, and Eglon—joined forces and advanced with all their armies. They camped before Gibeon and made war against it.
6Then the men of Gibeon sent word to Joshua in the camp at Gilgal: “Do not abandon your servants. Come quickly and save us! Help us, because all the kings of the Amorites from the hill country have joined forces against us.”
10And the LORD threw them into confusion before Israel, who defeated them in a great slaughter at Gibeon, pursued them along the ascent to Beth-horon, and struck them down as far as Azekah and Makkedah.
11As they fled before Israel along the descent from Beth-horon to Azekah, the LORD cast down on them large hailstones from the sky, and more of them were killed by the hailstones than by the swords of the Israelites.
12On the day that the LORD gave the Amorites over to the Israelites, Joshua spoke to the LORD in the presence of Israel: “O sun, stand still over Gibeon, O moon, over the Valley of Aijalon.”
13So the sun stood still and the moon stopped until the nation took vengeance upon its enemies. Is this not written in the Book of Jashar? “So the sun stopped in the middle of the sky and delayed going down about a full day.”
19But you, do not stop there. Pursue your enemies and attack them from behind. Do not let them reach their cities, for the LORD your God has delivered them into your hand.”
20So Joshua and the Israelites continued to inflict a terrible slaughter until they had finished them off, and the remaining survivors retreated to the fortified cities.
24When they had brought the kings to Joshua, he summoned all the men of Israel and said to the army commanders who had accompanied him, “Come here and put your feet on the necks of these kings.” So the commanders came forward and put their feet on their necks.
27At sunset Joshua ordered that they be taken down from the trees and thrown into the cave in which they had hidden. Then large stones were placed against the mouth of the cave, and the stones are there to this day.
28On that day Joshua captured Makkedah and put it to the sword, along with its king. He devoted to destruction everyone in the city, leaving no survivors. So he did to the king of Makkedah as he had done to the king of Jericho.
30And the LORD also delivered that city and its king into the hand of Israel, and Joshua put all the people to the sword, leaving no survivors. And he did to the king of Libnah as he had done to the king of Jericho.
32And the LORD delivered Lachish into the hand of Israel, and Joshua captured it on the second day. He put all the people to the sword, just as he had done to Libnah.
37They captured it and put to the sword its king, all its villages, and all the people. Joshua left no survivors, just as he had done at Eglon; he devoted to destruction Hebron and everyone in it.
39And they captured Debir, its king, and all its villages. They put them to the sword and devoted to destruction everyone in the city, leaving no survivors. Joshua did to Debir and its king as he had done to Hebron and as he had done to Libnah and its king.
40So Joshua conquered the whole region—the hill country, the Negev, the foothills, and the slopes, together with all their kings—leaving no survivors. He devoted to destruction everything that breathed, just as the LORD, the God of Israel, had commanded.