These five kings fled and hid themselves in the cave at 1Makkedah.
And it was told to Joshua, "The five kings have been found, hidden in the cave at Makkedah."
And Joshua said, "Roll large stones against the mouth of the cave and set men by it to guard them,
but do not stay there yourselves. Pursue your enemies; 2attack their rear guard. Do not let them enter their cities, for the LORD your God has given them into your hand."
When Joshua and the sons of Israel had finished striking them with a great blow 3until they were wiped out, and when the remnant that remained of them had entered into the fortified cities,
then all the people returned safe to Joshua in the camp at Makkedah. 4Not a man moved his tongue against any of the people of Israel.
Then Joshua said, "Open the mouth of the cave and bring those five kings out to me from the cave."
And 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.
And 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.
And Joshua said to them, 5"Do not be afraid or dismayed; be strong and courageous. 6For thus the LORD will do to all your enemies against whom you fight."
And afterward Joshua struck them and put them to death, and he hanged them on five trees. And 7they hung on the trees until evening.
But at the time of the going down of the sun, Joshua commanded, and 8they took them down from the trees and threw them into the cave where they had hidden themselves, and they set large stones against the mouth of the cave, which remain to this very day.
As for 9Makkedah, Joshua captured it on that day and struck it, and its king, with the edge of the sword. He devoted to destruction every person in it; he left none remaining. And he did to the king of Makkedah 10just as he had done to the king of Jericho.
Then Joshua and all Israel with him passed on from Makkedah to 11Libnah and fought against Libnah.
And the LORD gave it also and its king into the hand of Israel. And he struck it with the edge of the sword, and every person in it; he left none remaining in it. And he did to its king 12as he had done to the king of Jericho.
Then Joshua and all Israel with him passed on from Libnah to 13Lachish and laid siege to it and fought against it.
And the LORD gave Lachish into the hand of Israel, and he captured it on the second day and struck it with the edge of the sword, and every person in it, as he had done to Libnah.
Then Horam king of 14Gezer came up to help Lachish. And Joshua struck him and his people, until he left none remaining.
Then Joshua and all Israel with him passed on from Lachish to 15Eglon. And they laid siege to it and fought against it.
And they captured it on that day, and struck it with the edge of the sword. And he devoted every person in it to destruction that day, as he had done to Lachish.
Then Joshua and all Israel with him went up from Eglon to 16Hebron. And they fought against it
and captured it and struck it with the edge of the sword, and its king and its towns, and every person in it. He left none remaining, as he had done to Eglon, and devoted it to destruction and every person in it.
Then Joshua and all Israel with him turned back to 17Debir and fought against it
and he captured it with its king and all its towns. And they struck them with the edge of the sword and devoted to destruction every person in it; he left none remaining. Just as he had done to Hebron and to Libnah and its king, so he did to Debir and to its king.
So Joshua struck the whole land, the hill country and the Negeb and the lowland 18and the slopes, and all their kings. He left none remaining, 19but devoted to destruction all that breathed, just as the LORD God of Israel commanded.
And Joshua struck them from 20Kadesh-barnea as far as Gaza, and all the country of 21Goshen, as far as Gibeon.
And Joshua captured all these kings and their land at one time, 22because the LORD God of Israel fought for Israel.
23Then Joshua returned, and all Israel with him, to the camp at Gilgal.