But these five kings fled and hid themselves in a cave at Makkedah.
And it was told Joshua, saying, "The five kings are found hidden in a cave at Makkedah."
And Joshua said, "Roll great stones upon the mouth of the cave, and set men by it to keep them.
And stay ye not, but pursue after your enemies and smite the hindmost of them. Permit them not to enter into their cities, for the LORD your God hath delivered them into your hand."
And it came to pass, when Joshua and the children of Israel had made an end of slaying them with a very great slaughter till they were consumed, that the rest who remained of them entered into fortified cities.
And all the people returned to the camp to Joshua at Makkedah in peace. None moved his tongue against any of the children of Israel.
Then said Joshua, "Open the mouth of the cave, and bring out those five kings unto me out of the cave."
And they did so, and brought forth those five kings unto him out of the cave: the king of Jerusalem, the king of Hebron, the king of Jarmuth, the king of Lachish, and the king of Eglon.
And it came to pass, when they brought out those kings unto Joshua, that Joshua called for all the men of Israel, and said unto the captains of the men of war who went with him, "Come near, put your feet upon the necks of these kings." And they came near and put their feet upon the necks of them.
And Joshua said unto them, "Fear not, nor be dismayed. Be strong and of good courage, for thus shall the LORD do to all your enemies against whom ye fight."
And afterward Joshua smote them and slew them, and hanged them on five trees; and they were hanging upon the trees until the evening.
And it came to pass at the time of the going down of the sun that Joshua commanded, and they took them down off the trees and cast them into the cave wherein they had been hid, and laid great stones in the cave's mouth, which remain until this very day.
And that day Joshua took Makkedah, and smote it with the edge of the sword, and the king thereof he utterly destroyed -- them and all the souls who were therein. He let none remain, and he did to the king of Makkedah as he did unto the king of Jericho.
Then Joshua passed from Makkedah, and all Israel with him, unto Libnah, and fought against Libnah.
And the LORD delivered it also, and the king thereof, into the hand of Israel. And he smote it with the edge of the sword and all the souls who were therein. He let none remain in it, but did unto the king thereof as he did unto the king of Jericho.
And Joshua passed from Libnah, and all Israel with him, unto Lachish, and encamped against it and fought against it.
And the LORD delivered Lachish into the hand of Israel, which took it on the second day, and smote it with the edge of the sword and all the souls who were therein, according to all that he had done to Libnah.
Then Horam king of Gezer came up to help Lachish; and Joshua smote him and his people until he had left him none remaining.
And from Lachish Joshua passed unto Eglon, and all Israel with him; and they encamped against it, and fought against it.
And they took it on that day and smote it with the edge of the sword, and all the souls who were therein he utterly destroyed that day, according to all that he had done to Lachish.
And Joshua went up from Eglon, and all Israel with him, unto Hebron; and they fought against it.
And they took it and smote it with the edge of the sword, and the king thereof and all the cities thereof and all the souls who were therein. He left none remaining, according to all that he had done to Eglon, but destroyed it utterly and all the souls who were therein.
And Joshua returned, and all Israel with him, to Debir, and fought against it.
And he took it, and the king thereof, and all the cities thereof; and they smote them with the edge of the sword and utterly destroyed all the souls who were therein. He left none remaining. As he had done to Hebron, so he did to Debir and to the king thereof, as he had done also to Libnah and to her king.
So Joshua smote all the country of the hills, and of the south and of the vale and of the springs, and all their kings. He left none remaining, but utterly destroyed all that breathed, as the LORD God of Israel commanded.
And Joshua smote them from Kadeshbarnea even unto Gaza, and all the country of Goshen, even unto Gibeon.
And all these kings and their land did Joshua take at one time, because the LORD God of Israel fought for Israel.
And Joshua returned, and all Israel with him, unto the camp to Gilgal.