Then the LORD said to Joshua, "Don't be afraid of them. I have given them into your power. Not a single one of them can stand up against you."
References for Joshua 10:8
Joshua quickly attacked them, having come up overnight from Gilgal.
Then the LORD threw them into a panic before Israel. Joshua struck a mighty blow against them at Gibeon. He chased them on the way up to Beth-horon and struck them down as far as Azekah and Makkedah.
When they were fleeing from Israel and were on the slope of Beth-horon, the LORD threw down large stones from the sky all the way to Azekah. So they died. More died from the hailstones than the Israelites killed with the sword.
On the day the LORD gave the Amorites into the power of Israel, Joshua spoke to the LORD in the presence of the Israelites: "Sun, stand still at Gibeon! and Moon, at the Aijalon Valley!"
The sun stood still and the moon stood motionless until a nation took revenge on its enemies. Isn't this written in the Jashar scroll? So the sun stood motionless in the middle of the sky. For a whole day, it was in no hurry to go down.
There hasn't been a day like it before or since, when the LORD responded to a human voice. The LORD fought for Israel.
Then Joshua along with all Israel came back to the camp at Gilgal.