17And it was told Joshua, saying, The five kings are found hid in a cave at Makkedah.
18And Joshua said, Roll great stones upon the mouth of the cave, and set men by it for to keep them:
19And stay ye not, but pursue after your enemies, and smite the hindmost of them; suffer them not to enter into their cities: for the LORD your God hath delivered them into your hand.
20And it came to pass, when Joshua and the children of Israel had made an end of slaying them with a very great slaughter, till they were consumed, that the rest which remained of them entered into fenced cities.
21And all the people returned to the camp to Joshua at Makkedah in peace: none moved his tongue against any of the children of Israel.
22Then said Joshua, Open the mouth of the cave, and bring out those five kings unto me out of the cave.
23And they did so, and brought forth those five kings unto him out of the cave, the king of Jerusalem, the king of Hebron, the king of Jarmuth, the king of Lachish, and the king of Eglon.