101Adonizedek, the king of Jerusalem,10.1 Jerusalem: At that time it was a Jebusite city. heard that Joshua had captured and totally destroyed Ai and had killed its king, just as he had done to Jericho and its king. He also heard that the people of Gibeon had made peace with the Israelites and were living among them. 2The people of Jerusalem were greatly alarmed at this because Gibeon was as large as any of the cities that had a king; it was larger than Ai, and its men were good fighters. 3So Adonizedek sent the following message to King Hoham of Hebron, King Piram of Jarmuth, King Japhia of Lachish, and to King Debir of Eglon: 4“Come and help me attack Gibeon, because its people have made peace with Joshua and the Israelites.” 5These five Amorite kings, the kings of Jerusalem, Hebron, Jarmuth, Lachish, and Eglon, joined forces, surrounded Gibeon, and attacked it.
6The men of Gibeon sent word to Joshua at the camp in Gilgal: “Do not abandon us, sir! Come at once and help us! Save us! All the Amorite kings in the hill country have joined forces and have attacked us!”
7So Joshua and his whole army, including the best troops, started out from Gilgal. 8The LORD said to Joshua, “Do not be afraid of them. I have already given you the victory. Not one of them will be able to stand against you.” 9All night Joshua and his army marched from Gilgal to Gibeon, and they made a surprise attack on the Amorites. 10The LORD made the Amorites panic at the sight of Israel's army. The Israelites slaughtered them at Gibeon and pursued them down the mountain pass at Beth Horon, keeping up the attack as far south as Azekah and Makkedah. 11While the Amorites were running down the pass from the Israelite army, the LORD made large hailstones fall down on them all the way to Azekah. More were killed by the hailstones than by the Israelites.
12On the day that the LORD gave the men of Israel victory over the Amorites, Joshua spoke to the LORD. In the presence of the Israelites he said,
“Sun, stand still over Gibeon;
Moon, stop over Aijalon Valley.”13
15After this, Joshua and his army went back to the camp at Gilgal.
16The five Amorite kings, however, had escaped and were hiding in the cave at Makkedah. 17Someone found them, and Joshua was told where they were hiding. 18He said, “Roll some big stones in front of the entrance to the cave. Place some guards there, 19but don't stay there yourselves. Keep on after the enemy and attack them from the rear; don't let them get to their cities! The LORD your God has given you victory over them.” 20Joshua and the men of Israel slaughtered them, although some managed to find safety inside their city walls and were not killed. 21Then all of Joshua's men came back safe to him at the camp at Makkedah.
No one in the land dared even to speak against the Israelites.
22Then Joshua said, “Open the entrance to the cave and bring those five kings out to me.” 23So the cave was opened, and the kings of Jerusalem, Hebron, Jarmuth, Lachish, and Eglon were brought out 24and taken to Joshua. Joshua then called all the men of Israel to him and ordered the officers who had gone with him to come and put their feet on the necks of the kings. They did so. 25Then Joshua said to his officers, “Don't be afraid or discouraged. Be determined and confident because this is what the LORD is going to do to all your enemies.” 26Then Joshua killed the kings and hanged them on five trees, where their bodies stayed until evening. 27At sunset Joshua gave orders, and their bodies were taken down and thrown into the same cave where they had hidden earlier. Large stones were placed at the entrance to the cave, and they are still there.
28Joshua attacked and captured Makkedah and its king that day. He put everyone in the city to death; no one was left alive. He did to the king of Makkedah what he had done to the king of Jericho.
29After this, Joshua and his army went on from Makkedah to Libnah and attacked it. 30The LORD also gave the Israelites victory over this city and its king. They spared no one, but killed every person in it. They did to the king what they had done to the king of Jericho.
31After this, Joshua and his army went on from Libnah to Lachish, surrounded it and attacked it. 32The LORD gave the Israelites victory over Lachish on the second day of the battle. Just as they had done at Libnah, they spared no one, but killed every person in the city. 33King Horam of Gezer came to the aid of Lachish, but Joshua defeated him and his army and left none of them alive.
34Next, Joshua and his army went on from Lachish to Eglon, surrounded it and attacked it. 35They captured it the same day and put everyone there to death, just as they had done at Lachish.
36After this, Joshua and his army went from Eglon up into the hills to Hebron, attacked it 37and captured it. They killed the king and everyone else in the city as well as in the nearby towns. Joshua condemned the city to total destruction, just as he had done to Eglon. No one in it was left alive.
38Then Joshua and his army turned back to Debir and attacked it. 39He captured it, with its king and all the nearby towns. They put everyone there to death. Joshua did to Debir and its king what he had done to Hebron and to Libnah and its king.
40Joshua conquered the whole land. He defeated the kings of the hill country, the eastern slopes, and the western foothills, as well as those of the dry country in the south. He spared no one; everyone was put to death. This was what the LORD God of Israel had commanded. 41Joshua's campaign took him from Kadesh Barnea in the south to Gaza near the coast, including all the area of Goshen, and as far north as Gibeon. 42Joshua conquered all these kings and their territory in one campaign because the LORD, Israel's God, was fighting for Israel. 43After this, Joshua and his army went back to the camp at Gilgal.