Read this passage and open each verse for the full verse feed and commentary tools.
10Yahweh 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. 11It 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.
Joshua 10:10-12 (WEB)