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.
So Joshua returned, and all Israel with him, to the camp of Gilgal. But the five kings hid themselves in a cave. And so they came and told Joshua these five kings were hiding in the caves. So Joshua said, Throw a bunch of stones over the cave, seal it up, and stand outside and guard the thing ( Joshua 10:15-18 ).