Joshua 10:7-10 NIV
So Joshua marched up from Gilgal with his entire army, including all the best fighting men. The LORD said to Joshua, “Do not be afraid of them; I have given them into your hand. Not one of them will be able to withstand you.”
After an all-night march from Gilgal, Joshua took them by surprise. The LORD threw them into confusion before Israel, so Joshua and the Israelites defeated them completely at Gibeon. Israel pursued them along the road going up to Beth Horon and cut them down all the way to Azekah and Makkedah.
NIV: New International Version