1 And it happened that when Adoni-Zedek king of Jerusalem heard that Joshua captured Ai and had utterly destroyed it (just as he had done to Jericho and its king, so he did to Ai and its king) and that the inhabitants of Gibeon had made peace with Israel and were among them, 2 he became very afraid because Gibeon [was] a very large city, {like one of the royal cities}, and because it [was] larger than Ai, and all its men [were] mighty warriors. 3 So Adoni-Zedek king of Jerusalem sent [word] to Hohman king of Hebron, to Piram king of Jarmuth, to Japhia king of Lachish, and to Debir king of Eglon, saying, 4 "Come up and help me, and let us attack Gibeon, because it has made peace with Joshua and the {Israelites}." 5 And the five kings of the Amorites, the king of Jerusalem, the king of Hebron, the king of Jarmuth, the king of Lachish, and the king of Eglon, gathered [together] and went up, they and all their forces, and {they laid siege to Gibeon} and made war against it.
6 And the men of Gibeon sent [word] to Joshua at the camp at Gilgal, saying, "{Do not abandon} your servant. Come up to us quickly and save us! Help us, for all the kings of the Amorites who dwell in the hill country have gathered against us." 7 So Joshua went up from Gilgal, he and {all the fighting men} with him, {all the best warriors}.
8 And Yahweh said to Joshua, "Do not be afraid of them, for I have given them into your hand; {no one will withstand you}.
9 Joshua came upon them suddenly {by marching up} all night from Gilgal. 10 And Yahweh threw them into panic before Israel, who struck them [with] a great blow at Gibeon and pursued them by the way of the ascent of Beth-horon and struck them as far as Azekah and Makkedah. 11 And as they were fleeing from Israel, [they were] on the slope of Beth-horon, and Yahweh threw huge stones from the heavens on them as far as Azekah; and more died by the hail stones than those whom the {Israelites} killed by the sword.
12 Then Joshua spoke to Yahweh, on the day Yahweh gave the Amorites over to the {Israelites}, and he said in the sight of Israel, "Sun in Gibeon, stand still, and moon, in the valley of Aijalon." 13 And the sun stood still, and the moon stopped, until [the] nation took vengeance [on] its enemies. Is it not written in the scroll of Jashar? The sun stood still in the middle of the heaven and was not in haste to set for about a full day.
14 There has not been a day like this before it or after, that Yahweh listened to the voice of man; for Yahweh fought for Israel. 15 And Joshua returned and all Israel with him to the camp at Gilgal.
16 But these five kings fled and hid themselves in the cave at Makkedah. 17 And it was told to Joshua, saying, "The five kings were found hidden in the cave at Makkedah."
18 And Joshua said, "Roll large stones against the mouth of the cave, and set men in front of it to guard them. 19 But do not stay [there]; pursue after your enemies and attack them from the rear. Do not allow them to go into their cities, for Yahweh your God has given them into your hand." 20 When Joshua and the {Israelites} had finished striking them [with] a very great blow, until they perished, {those of them who survived} went into the fortified cities, 21 and all the people returned to the camp safely to Joshua [at] Makkedah. {No one spoke} against the {Israelites}.
22 And Joshua said, "Open the mouth of the cave, and bring to me those five kings from the cave." 23 And they did so, and brought him these five kings from the cave, the king of Jerusalem, the king of Hebron, the king of Jarmuth, the king of Lachish, and the king of Eglon. 24 And when they brought these kings to Joshua, Joshua called all the men of Israel and said to the commanders of {the fighting men} who had gone with him, "Come near, put your feet on the necks of these kings." So they came near and put their feet on their necks. 25 And Joshua said to them, "Do not be afraid or dismayed! Be strong and bold, for thus Yahweh will do to all your enemies whom you [are] about to fight.
26 And after this Joshua struck them down and killed them, and he hanged them on five trees. And they were hanging on the trees until the evening. 27 And it happened {at the time of sunset}, Joshua commanded, and they took them down from the trees and threw them into the cave where they had hidden themselves, and they put large stones against the mouth of the cave, [which are there] to this very day.
28 Joshua captured Makkedah on that day, and he struck it and its king with {the edge of the sword}; he utterly destroyed it and everyone that was in it. He did not leave behind a survivor. So he did to the king of Makkedah just as he did to the king of Jericho.
29 And Joshua passed on, and all of Israel with him, from Makkedah [to] Libnah, and he fought against Libnah. 30 And Yahweh also gave it into the hand of Israel, and its king and all the people in it he struck with {the edge of the sword}. He left in it no survivor. He did to its king just as he did to the king of Jericho.
31 And Joshua passed on, and all of Israel with him, from Libnah to Lachish, and {he laid siege to it} and fought against it. 32 And Yahweh gave Lachish into the hand of Israel, and he captured it on the second day. He struck it with {the edge of the sword}, and everyone in it, just as he did to Libnah. 33 Then Horam king of Gezer came up to help Lachish, and Joshua struck him and his people until he left no survivor behind.
34 And Joshua passed on, and all of Israel with him, from Lachish to Eglon, and {they laid siege to it} and fought against it. 35 And they captured it on that day, and he struck it with {the edge of the sword}, and all the people that [were] in it on that day he utterly destroyed as he had done to Lachish.
36 And Joshua went up, and all Israel with him, from Eglon to Hebron, and they fought against it 37 and captured it, and they struck it with {the edge of the sword}, its king and all its cities, and all the people that [were] in it; he left behind no survivor, as he had done to Eglon, and he utterly destroyed it and all the people that [were] in it.
38 Then Joshua returned to Debir, and all of Israel with him, and they fought against it, 39 and he captured it and its king and all its cities, and they struck them with {the the edge of the sword}, and they utterly destroyed all the people that [were] in it; he left behind no survivor, just as he had done to Hebron. Thus he did to Debir and its king what he had done to Libnah and its king.
40 So Joshua struck all the land--the hill country, the Negev, the Shephelah, and the slopes--and all their kings; he left behind no survivor, and {all that breathed} he utterly destroyed as Yahweh the God of Israel commanded. 41 Joshua struck them from Kadesh Barnea to Gaza, and all the land of Goshen up to Gibeon; 42 all of these kings and their land Joshua captured at one time, because Yahweh the God of Israel fought for Israel. 43 And Joshua returned, and all Israel with him, to the camp at Gilgal.