Joshua 10:6-15New Revised Standard Version (NRSV)
6 And the Gibeonites sent to Joshua at the camp in Gilgal, saying, “Do not abandon your servants; come up to us quickly, and save us, and help us; for all the kings of the Amorites who live in the hill country are gathered against us.” 7 So Joshua went up from Gilgal, he and all the fighting force with him, all the mighty warriors. 8 The Lord said to Joshua, “Do not fear them, for I have handed them over to you; not one of them shall stand before you.” 9 So Joshua came upon them suddenly, having marched up all night from Gilgal. 10 And the Lord threw them into a panic before Israel, who inflicted a great slaughter on them at Gibeon, chased them by the way of the ascent of Beth-horon, and struck them down as far as Azekah and Makkedah. 11 As they fled before Israel, while they were going down the slope of Beth-horon, the Lord threw down huge stones from heaven on them as far as Azekah, and they died; there were more who died because of the hailstones than the Israelites killed with the sword.
12 On the day when the Lord gave the Amorites over to the Israelites, Joshua spoke to the Lord; and he said in the sight of Israel,
“Sun, stand still at Gibeon,
Is this not written in the Book of Jashar? The sun stopped in midheaven, and did not hurry to set for about a whole day. 14 There has been no day like it before or since, when the Lord heeded a human voice; for the Lord fought for Israel.
15 Then Joshua returned, and all Israel with him, to the camp at Gilgal.
Joshua 10:40-43New Revised Standard Version (NRSV)
40 So Joshua defeated the whole land, the hill country and the Negeb and the lowland and the slopes, and all their kings; he left no one remaining, but utterly destroyed all that breathed, as the Lord God of Israel commanded. 41 And Joshua defeated them from Kadesh-barnea to Gaza, and all the country of Goshen, as far as Gibeon. 42 Joshua took all these kings and their land at one time, because the Lord God of Israel fought for Israel. 43 Then Joshua returned, and all Israel with him, to the camp at Gilgal.