Joshua 10:16-17

10:16 The five Amorite kings ran away and hid in the cave at Makkedah. 10:17 Joshua was told, “The five kings have been found hiding in the cave at Makkedah.”

Joshua 10:22-26

10:22 Joshua said, “Open the cave’s mouth and bring the five kings out of the cave to me.” 10:23 They did as ordered; they brought the five kings out of the cave to him – the kings of Jerusalem, Hebron, Jarmuth, Lachish, and Eglon. 10:24 When they brought the kings out to Joshua, he summoned all the men of Israel and said to the commanders of the troops who accompanied him, “Come here and put your feet on the necks of these kings.” So they came up and put their feet on their necks. 10:25 Then Joshua said to them, “Don’t be afraid and don’t panic! Be strong and brave, for the Lord will do the same thing to all your enemies you fight. 10:26 Then Joshua executed them and hung them on five trees. They were left hanging on the trees until evening.