Joshua 10:8-14

8 Yahweh said to Joshua, Don't fear them: for I have delivered them into your hands; there shall not a man of them stand before you.  9 Joshua therefore came on them suddenly; for he went up from Gilgal all the night.  10 Yahweh confused them before Israel, and he killed them with a great slaughter at Gibeon, and chased them by the way of the ascent of Beth Horon, and struck them to Azekah, and to Makkedah.  11 It happened, as they fled from before Israel, while they were at the descent of Beth Horon, that Yahweh cast down great stones from the sky on them to Azekah, and they died: they were more who died with the hailstones than they whom the children of Israel killed with the sword.  12 Then spoke Joshua to Yahweh in the day when Yahweh delivered up the Amorites before the children of Israel; and he said in the sight of Israel, Sun, stand you still on Gibeon; You, Moon, in the valley of Aijalon.  13 The sun stood still, and the moon stayed, Until the nation had avenged themselves of their enemies. Isn't this written in the book of Jashar? The sun stayed in the midst of the sky, and didn't hurry to go down about a whole day.  14 There was no day like that before it or after it, that Yahweh listened to the voice of a man: for Yahweh fought for Israel.