1Now King Adoni-zedek 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.
2So Adoni-zedek and his people were greatly alarmed because Gibeon was a large city like one of the royal cities; it was larger than Ai, and all its men were warriors.
3Therefore King Adoni-zedek of Jerusalem sent word to King Hoham of Hebron, King Piram of Jarmuth, King Japhia of Lachish, and King Debir of Eglon, saying,
5So the five Amorite kings--the kings of Jerusalem, Hebron, Jarmuth, Lachish, and Eglon--joined forces, advanced with all their armies, besieged Gibeon, and fought against it.
6Then the men of Gibeon sent word to Joshua in the camp at Gilgal: "Don't give up on your servants. Come quickly and save us! Help us, for all the Amorite kings living in the hill country have joined forces against us."
10The LORD threw them into confusion before Israel. He defeated them in a great slaughter at Gibeon, chased them through the ascent of Beth-horon, and struck them down as far as Azekah and Makkedah.
11As they fled before Israel, the LORD threw large hailstones on them from the sky along the descent of Beth-horon all the way to Azekah, and they died. More of them died from the hail than the Israelites killed with the sword.
12On the day the LORD gave the Amorites over to the Israelites, Joshua spoke to the LORD in the presence of Israel: "Sun, stand still over Gibeon, and moon, over the Valley of Aijalon."
13And the sun stood still and the moon stopped until the nation took vengeance on its enemies. Isn't this written in the Book of Jashar? So the sun stopped in the middle of the sky and delayed its setting almost a full day.
19But as for the rest of you, don't stay there. Pursue your enemies and attack them from behind. Don't let them enter their cities, for the LORD your God has handed them over to you."
20So Joshua and the Israelites finished inflicting a terrible slaughter on them until they were destroyed, although a few survivors ran away to the fortified cities.
24When they had brought the kings to him, Joshua summoned all the men of Israel and said to the military 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 commanded that they be taken down from the trees and thrown into the cave where they had hidden. Then large stones were placed against the mouth of the cave, and the stones are still there today.
28On 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.
30The LORD also handed it and its king over to Israel. He struck it down, putting everyone in it to the sword, and left no survivors in it. He treated Libnah's king as he had the king of Jericho.
32The LORD handed Lachish over to Israel, and Joshua captured it on the second day. He struck it down, putting everyone in it to the sword, just as he had done to Libnah.
35On that day they captured it and struck it down, putting everyone in it to the sword. He completely destroyed it that day, just as he had done to Lachish.
37They captured it and struck down its king, all its villages, and everyone in it with the sword. He left no survivors, just as he had done at Eglon. He completely destroyed Hebron and everyone in it.
39He captured it--its king and all its villages. They struck them down with the sword and completely destroyed everyone in it, leaving no survivors. He treated Debir and its king as he had treated Hebron and as he had treated Libnah and its king.
40So Joshua conquered the whole region--the hill country, the Negev, the Judean foothills, and the slopes--with all their kings, leaving no survivors. He completely destroyed every living being, as the LORD, the God of Israel, had commanded.