The Siege of Gibeon. 1 Now when Adonizedek, king of Jerusalem, heard that Joshua had captured Ai and put it under the ban, and had done to that city and its king as he had done to Jericho and its king, and that the inhabitants of Gibeon had made their peace with Israel, remaining among them, 2 there was great fear abroad, because Gibeon was a great city, like one of the royal cities, greater even than Ai, and all its men were warriors. 3 So Adonizedek, king of Jerusalem, sent to Hoham, king of Hebron, Piram, king of Jarmuth, Japhia, king of Lachish, and Debir, king of Eglon, with this message: 4 “Come and help me attack Gibeon, for it has made peace with Joshua and the Israelites.” 5 The five Amorite kings, of Jerusalem, Hebron, Jarmuth, Lachish, and Eglon,[a] gathered with all their forces, and marched against Gibeon to make war on it. 6 Thereupon, the Gibeonites sent an appeal to Joshua in his camp at Gilgal: “Do not abandon your servants. Come up here quickly and save us. Help us, because all the Amorite kings of the mountain country have joined together against us.”
Joshua’s Victory. 7 So Joshua marched up from Gilgal with all his army and all his warriors. 8 The Lord said to Joshua: Do not fear them, for I have delivered them into your power. Not one of them will be able to withstand you. 9 After an all-night march from Gilgal, Joshua made a surprise attack upon them, 10 and the Lord threw them into disorder before Israel. The Israelites inflicted a great slaughter on them at Gibeon and pursued them down the Beth-horon slope, attacking them as far as Azekah and Makkedah.
11 While they fled before Israel along the descent of Beth-horon, the Lord hurled great stones from the heavens[b] above them all the way to Azekah, killing many. More died from these hailstones than the Israelites killed with the sword. 12 It was then, when the Lord delivered up the Amorites to the Israelites, that Joshua prayed to the Lord, and said in the presence of Israel:
Sun, stand still at Gibeon,
Moon, in the valley of Aijalon!
13 The sun stood still,
the moon stayed,
while the nation took vengeance on its foes.
This is recorded[c] in the Book of Jashar. The sun halted halfway across the heavens; not for an entire day did it press on. 14 Never before or since was there a day like this, when the Lord obeyed the voice of a man; for the Lord fought for Israel. 15 Then Joshua and all Israel returned to the camp at Gilgal.
Execution of Amorite Kings. 16 The five kings who had fled hid in the cave at Makkedah. 17 When Joshua was told, “The five kings have been found, hiding in the cave at Makkedah,” 18 he said, “Roll large stones to the mouth of the cave and post guards over it. 19 But do not remain there yourselves. Pursue your enemies, and harry them in the rear. Do not allow them to reach their cities, for the Lord, your God, has delivered them into your power.”
20 Once Joshua and the Israelites had finally inflicted the last blows in this very great slaughter, and the survivors had escaped from them into the fortified cities, 21 all the army returned to Joshua and the camp at Makkedah in victory; no one uttered a sound against the Israelites. 22 Then Joshua said, “Open the mouth of the cave and bring me those five kings from the cave.” 23 They did so; they brought out to him from the cave the five kings, of Jerusalem, Hebron, Jarmuth, Lachish, and Eglon. 24 When they brought the five kings out to Joshua, he summoned all the army of Israel and said to the commanders of the soldiers who had marched with him, “Come forward and put your feet on the necks of these kings.” They came forward and put their feet upon their necks. 25 Then Joshua said to them, “Do not be afraid or dismayed, be firm and steadfast. This is what the Lord will do to all the enemies against whom you fight.” 26 Thereupon Joshua struck and killed the kings, and hanged them on five trees, where they remained hanging until evening. 27 At sunset Joshua commanded that they be taken down from the trees and be thrown into the cave where they had hidden; over the mouth of the cave large stones were placed, which remain until this very day.
Conquest of Southern Canaan. 28 Makkedah, too, Joshua captured and put to the sword at that time. He put the city, its king, and every person in it under the ban, leaving no survivors. Thus he did to the king of Makkedah what he had done to the king of Jericho. 29 Joshua then passed on with all Israel from Makkedah to Libnah, and attacked it, 30 and the Lord delivered it, with its king, into the power of Israel. He put it to the sword with every person there, leaving no survivors. Thus he did to its king what he had done to the king of Jericho. 31 Joshua next passed on with all Israel from Libnah to Lachish, where they set up a camp during the attack. 32 The Lord delivered Lachish into the power of Israel, so that on the second day Joshua captured it and put it to the sword with every person in it, just as he had done to Libnah. 33 At that time Horam, king of Gezer, came up to help Lachish, but Joshua defeated him and his people, leaving him no survivors. 34 From Lachish, Joshua passed on with all Israel to Eglon; encamping near it, they attacked it 35 and captured it the same day, putting it to the sword. On that day he put under the ban every person in it, just as he had done at Lachish. 36 From Eglon, Joshua went up with all Israel to Hebron, which they attacked 37 and captured. They put it to the sword with its king, all its cities, and every person there, leaving no survivors, just as Joshua had done to Eglon. He put it under the ban and every person in it. 38 Then Joshua and all Israel turned back to Debir and attacked it, 39 capturing it with its king and all its cities. They put them to the sword and put under the ban every person in it, leaving no survivors. Thus he did to Debir and its king what he had done to Hebron, as well as to Libnah and its king.
40 Joshua conquered the entire land; the mountain regions, the Negeb, the Shephelah, and the mountain slopes, with all their kings. He left no survivors, but put under the ban every living being, just as the Lord, the God of Israel, had commanded. 41 Joshua conquered them from Kadesh-barnea to Gaza, and all the land of Goshen[d] to Gibeon. 42 All these kings and their lands Joshua captured all at once, for the Lord, the God of Israel, fought for Israel. 43 Thereupon Joshua with all Israel returned to the camp at Gilgal.