7So Joshua went up from Gilgal, he and all the people of war with him and all the valiant warriors.8The LORD said to Joshua, “Do not fear them, for I have given them into your hands; not one of them shall stand before you.”9So Joshua came upon them suddenly by marching all night from Gilgal.10And the LORD confounded them before Israel, and He slew them with a great slaughter at Gibeon, and pursued them by the way of the ascent of Beth-horon and struck them as far as Azekah and Makkedah.11As they fled from before Israel, while they were at the descent of Beth-horon, the LORD threw large stones from heaven on them as far as Azekah, and they died; there were more who died from the hailstones than those whom the sons of Israel killed with the sword.
12Then Joshua spoke to the LORD in the day when the LORD delivered up the Amorites before the sons of Israel, and he said in the sight of Israel,
“O sun, stand still at Gibeon,
And O moon in the valley of Aijalon.”
13So the sun stood still, and the moon stopped,
Until the nation avenged themselves of their enemies.
Is it not written in the book of Jashar? And the sun stopped in the middle of the sky and did not hasten to go down for about a whole day.
14There was no day like that before it or after it, when the LORD listened to the voice of a man; for the LORD fought for Israel.
15Then Joshua and all Israel with him returned to the camp to Gilgal.