It wasn't long before My-Master-Zedek king of Jerusalem heard that Joshua had taken Ai and destroyed it and its king under a holy curse, just as he had done to Jericho and its king. He also learned that the people of Gibeon had come to terms with Israel and were living as neighbors.
He and his people were alarmed: Gibeon was a big city - as big as any with a king and bigger than Ai - and all its men were seasoned fighters.
Adoni-Zedek king of Jerusalem sent word to Hoham king of Hebron, Piram king of Jarmuth, Japhia king of Lachish, and Debir king of Eglon:
"Come and help me. Let's attack Gibeon; they've joined up with Joshua and the People of Israel."
So the five Amorite (Western) kings - the king of Jerusalem, the king of Hebron, the king of Jarmuth, the king of Lachish, and the king of Eglon - combined their armies and set out to attack Gibeon.
The men of Gibeon sent word to Joshua camped at Gilgal, "Don't let us down now! Come up here quickly! Save us! Help us! All the Amorite kings who live up in the hills have ganged up on us."
So Joshua set out from Gilgal, his whole army with him - all those tough soldiers!
God told him, "Don't give them a second thought. I've put them under your thumb - not one of them will stand up to you."
Joshua marched all night from Gilgal and took them by total surprise.
God threw them into total confusion before Israel, a major victory at Gibeon. Israel chased them along the ridge to Beth Horon and fought them all the way down to Azekah and Makkedah.
As they ran from the People of Israel, down from the Beth Horon ridge and all the way to Azekah, God pitched huge stones on them out of the sky and many died. More died from the hailstones than the People of Israel killed with the sword.
The day God gave the Amorites up to Israel, Joshua spoke to God, with all Israel listening: "Stop, Sun, over Gibeon; Halt, Moon, over Aijalon Valley."
And Sun stopped, Moon stood stock still Until he defeated his enemies.
There's never been a day like that before or since - God took orders from a human voice! Truly, God fought for Israel.
Then Joshua returned, all Israel with him, to the camp at Gilgal.