Joshua 10
The five kings of the Amorites joined forces and attacked the Gibeonites, since they had made a treaty with the Israelites. But, the Lord "threw them into confusion" and rained large hailstones down on them. Israel defeated them in a great victory at Gibeon and the Lord caused the sun and moon to stand still for a full day. Then Joshua and all Israel conquered Makkedah, Libnah, Lachish, Eglon, Hebron, and Debir, destroying their villages and all their people. They subdued the whole region, "because the Lord God fought for Israel". Joshua had done everything according to how the Lord had commanded, and the Lord delivered all their enemies into their hands and none of them were able to withstand the Israelites.