101 When Adonizedec, the king of Jerusalem, heard about how Joshua killed everyone in Jericho and Ai, and made peace with the Gibeonites and were living among them, he suggested that the neighboring kingdoms unite to attack Gibeon.
2 So he sent messengers to the surrounding kingdoms, saying,
Come help me smite the Gibeonites, since they have made peace with the Israelites.
5 So the five Amorite kings went to fight against Gibeon.
6 The men of Gibeon sent a message to Joshua, saying,
Come save us from the Amorite kings who are gathering together against us.
7 So Joshua and his mighty men of valor came to fight the Amorites.
10 And God fought the Amorites at Gibeon, killing them with a great slaughter, and chasing them along the way. 11 He cast down great stones from heaven, and they died.
God killed more with hailstones than Joshua's soldiers killed with the sword.
23 So they brought the five kings to him. 24 He said to his captains,
Put your feet upon the necks of these kings.
So they did.
25 He said to his captains, “This is what God will do to all of your enemies.”
26 Then Joshua killed the five kings and hanged them on trees. They hung there until the evening.
27 Then they took down the bodies and threw them into the cave. They are there to this day.
Joshua kills everyone in seven kingdoms
28-41 God delivered these kingdoms into Joshua’s hand: Makkedah, Libnah, Lachish, Gezer, Eglon, Hebron, and Debir. He killed all their kings, and destroyed everything that breathed, as God commanded. 42 Joshua took all these kings and their land because God fought for Israel.
A few more words about this episode
Sun, stand still upon Gideon. (v. 12)
So the sun and the stayed still for 24 hours, so Joshua and the Israelites could get their killing done in the broad daylight. This was the verse that got Galileo in the most trouble with the Catholic Church.
(Famous Trials: Scriptural References Relevant to the Trial of Galileo)