Joshua 10:16-17

Five Amorite Kings Executed

16These five kings fled and hid themselves in the cave at aMakkedah. 17And it was told to Joshua, “The five kings have been found, hidden in the cave at Makkedah.”

Joshua 10:22-26

22Then Joshua said, “Open the mouth of the cave and bring those five kings out to me from the cave.” 23And they did so, and brought those five kings out to him from the cave, the king of Jerusalem, the king of Hebron, the king of Jarmuth, the king of Lachish, and the king of Eglon. 24And when they brought those kings out to Joshua, Joshua summoned all the men of Israel and said to the chiefs of the men of war who had gone with him, “Come near; put your feet on the necks of these kings.” Then they came near and put their feet on their necks. 25And Joshua said to them, b“Do not be afraid or dismayed; be strong and courageous. cFor thus the Lord will do to all your enemies against whom you fight.” 26And afterward Joshua struck them and put them to death, and he hanged them on five trees. And dthey hung on the trees until evening.

Isaiah 2:19

19 eAnd people shall enter the caves of the rocks
and the holes of the ground,
Hebrew dust

from before the terror of the Lord,
and from the splendor of his majesty,
gwhen he rises to terrify the earth.

Isaiah 24:17

17 hTerror and the pit and the snare
The Hebrew words for  terror,  pit, and  snare sound alike

are upon you, O inhabitant of the earth!
Copyright information for ESV