9. Then Joshua came upon them suddenly, having marched all night from Gilgal.
10. The Lord panicked them before Israel. They struck them with overwhelming force at Gibeon, then Israel pursued them on the road that rises to Beth Horon and struck them down as far as Azekah and Makkedah.
11. As they fled from Israel on the downslope from Beth Horon, the Lord hurled large hailstones down upon them from the sky as far as Azekah. They died, and in fact more died from the hailstones than the children of Israel killed with the sword.
12. On the day the Lord gave over the Amorites to the children of Israel, Joshua spoke to the Lord and said in full view of Israel: “Sun, stand still over Gibeon;and moon, in the Valley of Aijalon.”
13. So the sun stood still,and the moon stood in placeuntil the people brought vengeance on their enemies.Is this not written in the book of Jashar?The sun stood still in the middle of the sky and did not set for about a full day.
14. There has not been a day like this either before or after it, when the Lord obeyed a man, for the Lord waged war for Israel.
15. Then Joshua, and all Israel with him, returned to the settlement at Gilgal.
16. Yet these five kings fled and hid themselves in the cave at Makkedah.
17. Joshua was told, “The five kings have been found hiding themselves in the cave at Makkedah.”
18. So Joshua said, “Roll large stones over the mouth of the cave, and station men to stand guard over it.
19. As for you, do not stop pursuing your enemies, but attack them from behind. Do not let them go back to their cities, for the Lord your God has given them into your hand.”
20. When Joshua and the children of Israel had finished striking them with overwhelming force until they were completely defeated, the survivors escaped from them and went back to their fortified cities.
21. Then all the people returned safely to Joshua at the Makkedah settlement, and no one spoke against any of the children of Israel.
22. Joshua said, “Open the mouth of the cave, and bring out to me those five kings from the cave.”
23. They did this, and they brought out those five kings from the cave: the kings of Jerusalem, Hebron, Jarmuth, Lachish, and Eglon.
24. When they brought out those five kings to Joshua, he called out to all the men of Israel and the army commanders, “Come here and place your feet on the necks of these kings.” So they came near and placed their feet on their necks.
25. Then Joshua said to them, “Do not be afraid or dismayed. Be strong and courageous! For this is what the Lord will do to all your enemies against whom you fight.”
26. After that, Joshua struck them down, killed them, and hung them on five trees. They were hanging on the trees until evening.
27. At sundown Joshua commanded men to take them down from the trees and throw them into the cave in which they had hidden themselves. Over the mouth of the cave he placed large stones, which remain to this day.
28. Joshua took Makkedah that day and struck it and its king with the edge of the sword. He destroyed it and all life within it. He did not leave any survivors. He did to the king of Makkedah just as he did to the king of Jericho.