23 So the cave was opened, and the kings of Jerusalem, Hebron, Jarmuth, Lachish, and Eglon were brought out
24 and taken to Joshua. Joshua then called all the men of Israel to him and ordered the officers who had gone with him to come and put their feet on the necks of the kings. They did so.
25 Then Joshua said to his officers, “Don't be afraid or discouraged. Be determined and confident because this is what the Lord is going to do to all your enemies.”
26 Then Joshua killed the kings and hanged them on five trees, where their bodies stayed until evening.
27 At sunset Joshua gave orders, and their bodies were taken down and thrown into the same cave where they had hidden earlier. Large stones were placed at the entrance to the cave, and they are still there.
28 Joshua attacked and captured Makkedah and its king that day. He put everyone in the city to death; no one was left alive. He did to the king of Makkedah what he had done to the king of Jericho.
29 After this, Joshua and his army went on from Makkedah to Libnah and attacked it.