1 WHEN ADONI-ZEDEK king of Jerusalem heard how Joshua had taken Ai and had utterly destroyed it, doing to Jericho and its king as he had done to Ai and its king, and how the residents of Gibeon had made peace with Israel and were among them,
2 He feared greatly, because Gibeon was a great city, like one of the royal cities, and because it was greater than Ai, and all its men were mighty.
3 So Adoni-zedek king of Jerusalem sent to Hoham king of Hebron, to Piram king of Jarmuth, to Japhia king of Lachish, and to Debir king of Eglon, saying,
4 Come up to me and help me, and let us smite Gibeon, for it has made peace with Joshua and with the Israelites.
5 Then the five kings of the Amorites–the kings of Jerusalem, Hebron, Jarmuth, Lachish, and Eglon–gathered their forces and went up with all their armies and encamped before Gibeon to fight against it.
6 And the men of Gibeon sent to Joshua at the camp in Gilgal, saying, Do not relax your hand from your servants; come up to us quickly and save us and help us, for all the kings of the Amorites who dwell in the hill country are gathered against us.
7 So Joshua went up from Gilgal, he and all the warriors with him and all the mighty men of valor.
8 And the Lord said to Joshua, Do not fear them, for I have given them into your hand; there shall not a man of them stand before you.
9 So Joshua came upon them suddenly, having gone up from Gilgal all night.
10 And the Lord caused [the enemies] to panic before Israel, who slew them with a great slaughter at Gibeon and chased them along the way that goes up to Beth-horon and smote them as far as Azekah and Makkedah.
11 As they fled before Israel, while they were descending [the pass] to Beth-horon, the Lord cast great stones from the heavens on them as far as Azekah, killing them. More died because of the hailstones than the Israelites slew with the sword.
12 Then Joshua spoke to the Lord on the day when the Lord gave the Amorites over to the Israelites, and he said in the sight of Israel, Sun, be silent and stand still at Gibeon, and you, moon, in the Valley of Ajalon!
13 And the sun stood still, and the moon stayed, until the nation took vengeance upon their enemies. Is not this written in the Book of Jasher? So the sun stood still in the midst of the heavens and did not hasten to go down for about a whole day.
14 There was no day like it before or since, when the Lord heeded the voice of a man. For the Lord fought for Israel.
15 Then Joshua returned, and all Israel with him, to the camp at Gilgal.
16 Those five kings fled and hid themselves in the cave of Makkedah.
17 And it was told Joshua, The five kings are hidden in the cave at Makkedah.
18 Joshua said, Roll great stones to the cave's mouth, and set men to guard them.
19 But do not stay. Pursue your enemies and fall upon their rear; do not allow them to enter their cities, for the Lord your God has given them into your hand.
20 When Joshua and the Israelites had ended slaying them until they were wiped out and the remnant remaining of them had entered into fortified cities,
21 All the people returned to the camp to Joshua at Makkedah in peace; none moved his tongue against any of the Israelites.
22 Then said Joshua, Open the mouth of the cave and bring out those five kings to me from the cave.
23 They brought the five kings out of the cave to him–the kings of Jerusalem, Hebron, Jarmuth, Lachish, and Eglon.
24 When they brought out those kings to Joshua, [he] called for all the Israelites and told the commanders of the men of war who went with him, Come, put your feet on the necks of these kings. And they came and put their feet on the [kings'] necks.
25 Joshua said to them, Fear not nor be dismayed; be strong and of good courage. For thus shall the Lord do to all your enemies against whom you fight.
26 Afterward Joshua smote and slew them and hanged their bodies on five trees, and they hung on the trees until evening.
27 At sunset Joshua ordered and they took the bodies down from the trees and cast them into the cave where the kings had hidden and laid great stones on the cave's mouth, which remain to this very day.
28 Joshua took Makkedah that day and smote it and its king with the sword and utterly destroyed everyone in it. He left none remaining. And he did to the king of Makkedah as he had done to the king of Jericho. [Josh. 6:21.]
29 Then Joshua and all Israel went from Makkedah to Libnah and attacked Libnah.
30 And the Lord gave it also and its king into Israel's hands, and Joshua smote it with the sword, and all the people in it. He left none remaining in it. And he did to its king as he had done to the king of Jericho.
31 And Joshua passed from Libnah, and all Israel with him, to Lachish and encamped against it and attacked it.
32 And the Lord delivered Lachish into the hands of Israel, and Joshua took it on the second day and smote it with the sword, and all the people in it, as he had done to Libnah.
33 Then Horam king of Gezer came up to help Lachish, and Joshua smote him and his people–until he had left none remaining.
34 From Lachish Joshua and all Israel went on to Eglon, laid siege to it, and attacked it.
35 And they took it that day and smote it with the sword and utterly destroyed all who were in it that day, as he had done to Lachish.
36 Then Joshua with all Israel went up from Eglon to Hebron, and they attacked it
37 And took it and smote it with the sword, and its king and all its towns and everyone in it. He left none remaining, as he had done to Eglon, and utterly destroyed it and all its people.
38 And Joshua and all Israel with him returned to Debir and attacked it.
39 And he took it, with its king and all its towns, and they smote them with the sword and utterly destroyed everyone in it. He left none remaining. As he had done to Hebron and to Libnah and its king, so he did to Debir and its king.
40 So Joshua smote all the land, the hill country, the South, the lowland, and the slopes, and all their kings. He left none remaining, but utterly destroyed all that breathed, as the Lord, the God of Israel, commanded. [Deut. 20:16.]
41 And Joshua smote them from Kadesh-barnea even to Gaza, and all the country of Goshen even to Gibeon.
42 Joshua took all these kings and their land at one time, because the Lord, the God of Israel, fought for Israel.
43 And Joshua returned, and all Israel with him, to the camp at Gilgal.