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.
Meanwhile the five kings had hidden in the cave at Makkedah.
Joshua was told, "The five kings have been found, hidden in the cave at Makkedah."
Joshua said, "Roll big stones against the mouth of the cave and post guards to keep watch.