Joshua 10:1-27 records the destruction of Jerusalem, Hebron, Jarmuth, Lachish, and Eglon.
The king of Jerusalem was threatened by Israel’s destruction of Jericho and Ai and their peaceful agreement with Gibeon (vv. 1-2). When he heard that Joshua had taken Ai and had utterly destroyed it as he had done to Jericho and that the inhabitants of Gibeon had made peace with Israel and were among them, he was afraid, knowing that Gibeon was a great city and that all its men were mighty men.
The kings of the five nations formed an alliance to fight against Gibeon. The king of Jerusalem sent word to the kings of Hebron, Jarmuth, Lachish, and Eglon, saying to them, “Come up to me and help me, and let us strike Gibeon; for they have made peace with Joshua and the children of Israel” (v. 4). Thus the five kings of the Amorites went up to Gibeon and fought against it.
In verses 6 through 27 we see that Israel engaged in war against the five nations.
The Gibeonites begged Israel to fight for them against the five nations (v. 6).
Jehovah encouraged Joshua to defeat these nations, saying to him, “Do not be afraid of them, for I have given them into your hand. No man among them will stand before you” (v. 8). Joshua came upon them suddenly, and Jehovah threw them into a panic before Israel, struck them with a great stroke, and pursued them.
While the five nations fled from before Israel, “Jehovah sent large stones upon them from heaven as far as Azekah, and they died. There were more who died because of the hailstones than the children of Israel slew with the sword” (v. 11).
Jehovah caused the sun and the moon to stay still for about a whole day (vv. 12-14). These two miracles by Jehovah were by natural forces.
Joshua and the children of Israel destroyed the people of the five nations and killed their kings (vv. 15-27). The five kings were brought out of the cave into which they had fled, and Joshua told the chiefs of the men of war who were with him to put their feet on the necks of these kings. They did so, and Joshua said to them, “Do not be afraid or dismayed; be strong and be bold, for thus will Jehovah do to all your enemies against whom you fight” (v. 25).