Joshua 10:1-28

Joshua 10:1-2-28 The Message (MSG)

It wasn’t long before My-Master-Zedek king of Jerusalem heard that Joshua had taken Ai and destroyed it and its king under a holy curse, just as he had done to Jericho and its king. He also learned that the people of Gibeon had come to terms with Israel and were living as neighbors. He and his people were alarmed: Gibeon was a big city—as big as any with a king and bigger than Ai—and all its men were seasoned fighters. Adoni-Zedek king of Jerusalem sent word to Hoham king of Hebron, Piram king of Jarmuth, Japhia king of Lachish, and Debir king of Eglon: “Come and help me. Let’s attack Gibeon; they’ve joined up with Joshua and the People of Israel.” So the five Amorite (Western) kings—the king of Jerusalem, the king of Hebron, the king of Jarmuth, the king of Lachish, and the king of Eglon—combined their armies and set out to attack Gibeon. The men of Gibeon sent word to Joshua camped at Gilgal, “Don’t let us down now! Come up here quickly! Save us! Help us! All the Amorite kings who live up in the hills have ganged up on us.” So Joshua set out from Gilgal, his whole army with him—all those tough soldiers! GOD told him, “Don’t give them a second thought. I’ve put them under your thumb—not one of them will stand up to you.” Joshua marched all night from Gilgal and took them by total surprise. GOD threw them into total confusion before Israel, a major victory at Gibeon. Israel chased them along the ridge to Beth Horon and fought them all the way down to Azekah and Makkedah. As they ran from the People of Israel, down from the Beth Horon ridge and all the way to Azekah, GOD pitched huge stones on them out of the sky and many died. More died from the hailstones than the People of Israel killed with the sword. The day GOD gave the Amorites up to Israel, Joshua spoke to GOD, with all Israel listening: “Stop, Sun, over Gibeon; Halt, Moon, over Aijalon Valley.” And Sun stopped, Moon stood stock still Until he defeated his enemies. (You can find this written in the Book of Jashar.) The sun stopped in its tracks in mid sky; just sat there all day. There’s never been a day like that before or since—GOD took orders from a human voice! Truly, GOD fought for Israel. Then Joshua returned, all Israel with him, to the camp at Gilgal. Meanwhile the five kings had hidden in the cave at Makkedah. Joshua was told, “The five kings have been found, hidden in the cave at Makkedah.” Joshua said, “Roll big stones against the mouth of the cave and post guards to keep watch. But don’t you hang around—go after your enemies. Cut off their retreat. Don’t let them back into their cities. GOD has given them to you.” Joshua and the People of Israel then finished them off, total devastation. Only a few got away to the fortified towns. The whole army then returned intact to the camp and to Joshua at Makkedah. There was no criticism that day from the People of Israel! Then Joshua said, “Open the mouth of the cave and bring me those five kings.” They did it. They brought him the five kings from the cave: the king of Jerusalem, the king of Hebron, the king of Jarmuth, the king of Lachish, and the king of Eglon. When they had them all there in front of Joshua, he called up the army and told the field commanders who had been with him, “Come here. Put your feet on the necks of these kings.” They stepped up and put their feet on their necks. Joshua told them, “Don’t hold back. Don’t be timid. Be strong! Be confident! This is what GOD will do to all your enemies when you fight them.” Then Joshua struck and killed the kings. He hung them on five trees where they remained until evening. At sunset Joshua gave the command. They took them down from the trees and threw them into the cave where they had hidden. They put large stones at the mouth of the cave. The kings are still in there. That same day Joshua captured Makkedah, a massacre that included the king. He carried out the holy curse. No survivors. Makkedah’s king got the same treatment as Jericho’s king.

Joshua 10:1-28 New American Standard Bible - NASB 1995 (NASB1995)

Now it came about when Adoni-zedek king of Jerusalem heard that Joshua had captured Ai, and had utterly destroyed it (just as he had done to Jericho and its king, so he had done to Ai and its king), and that the inhabitants of Gibeon had made peace with Israel and were within their land, that he feared greatly, because Gibeon was a great city, like one of the royal cities, and because it was greater than Ai, and all its men were mighty. Therefore Adoni-zedek king of Jerusalem sent word to Hoham king of Hebron and to Piram king of Jarmuth and to Japhia king of Lachish and to Debir king of Eglon, saying, “Come up to me and help me, and let us attack Gibeon, for it has made peace with Joshua and with the sons of Israel.” So the five kings of the Amorites, the king of Jerusalem, the king of Hebron, the king of Jarmuth, the king of Lachish, and the king of Eglon, gathered together and went up, they with all their armies, and camped by Gibeon and fought against it. Then the men of Gibeon sent word to Joshua to the camp at Gilgal, saying, “Do not abandon your servants; come up to us quickly and save us and help us, for all the kings of the Amorites that live in the hill country have assembled against us.” So Joshua went up from Gilgal, he and all the people of war with him and all the valiant warriors. The LORD said to Joshua, “Do not fear them, for I have given them into your hands; not one of them shall stand before you.” So Joshua came upon them suddenly by marching all night from Gilgal. And the LORD confounded them before Israel, and He slew them with a great slaughter at Gibeon, and pursued them by the way of the ascent of Beth-horon and struck them as far as Azekah and Makkedah. As they fled from before Israel, while they were at the descent of Beth-horon, the LORD threw large stones from heaven on them as far as Azekah, and they died; there were more who died from the hailstones than those whom the sons of Israel killed with the sword. Then Joshua spoke to the LORD in the day when the LORD delivered up the Amorites before the sons of Israel, and he said in the sight of Israel, “O sun, stand still at Gibeon, And O moon in the valley of Aijalon.” So the sun stood still, and the moon stopped, Until the nation avenged themselves of their enemies. Is it not written in the book of Jashar? And the sun stopped in the middle of the sky and did not hasten to go down for about a whole day. There was no day like that before it or after it, when the LORD listened to the voice of a man; for the LORD fought for Israel. Then Joshua and all Israel with him returned to the camp to Gilgal. Now these five kings had fled and hidden themselves in the cave at Makkedah. It was told Joshua, saying, “The five kings have been found hidden in the cave at Makkedah.” Joshua said, “Roll large stones against the mouth of the cave, and assign men by it to guard them, but do not stay there yourselves; pursue your enemies and attack them in the rear. Do not allow them to enter their cities, for the LORD your God has delivered them into your hand.” It came about when Joshua and the sons of Israel had finished slaying them with a very great slaughter, until they were destroyed, and the survivors who remained of them had entered the fortified cities, that all the people returned to the camp to Joshua at Makkedah in peace. No one uttered a word against any of the sons of Israel. Then Joshua said, “Open the mouth of the cave and bring these five kings out to me from the cave.” They did so, and brought these 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. When they brought these kings out to Joshua, Joshua called for 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.” So they came near and put their feet on their necks. Joshua then said to them, “Do not fear or be dismayed! Be strong and courageous, for thus the LORD will do to all your enemies with whom you fight.” So afterward Joshua struck them and put them to death, and he hanged them on five trees; and they hung on the trees until evening. It came about at sunset that Joshua gave a command, and they took them down from the trees and threw them into the cave where they had hidden themselves, and put large stones over the mouth of the cave, to this very day. Now Joshua captured Makkedah on that day, and struck it and its king with the edge of the sword; he utterly destroyed it and every person who was in it. He left no survivor. Thus he did to the king of Makkedah just as he had done to the king of Jericho.

Joshua 10:1-28 New Living Translation (NLT)

Adoni-zedek, king of Jerusalem, heard that Joshua had captured and completely destroyed Ai and killed its king, just as he had destroyed the town of Jericho and killed its king. He also learned that the Gibeonites had made peace with Israel and were now their allies. He and his people became very afraid when they heard all this because Gibeon was a large town—as large as the royal cities and larger than Ai. And the Gibeonite men were strong warriors. So King Adoni-zedek of Jerusalem sent messengers to several other kings: Hoham of Hebron, Piram of Jarmuth, Japhia of Lachish, and Debir of Eglon. “Come and help me destroy Gibeon,” he urged them, “for they have made peace with Joshua and the people of Israel.” So these five Amorite kings combined their armies for a united attack. They moved all their troops into place and attacked Gibeon. The men of Gibeon quickly sent messengers to Joshua at his camp in Gilgal. “Don’t abandon your servants now!” they pleaded. “Come at once! Save us! Help us! For all the Amorite kings who live in the hill country have joined forces to attack us.” So Joshua and his entire army, including his best warriors, left Gilgal and set out for Gibeon. “Do not be afraid of them,” the LORD said to Joshua, “for I have given you victory over them. Not a single one of them will be able to stand up to you.” Joshua traveled all night from Gilgal and took the Amorite armies by surprise. The LORD threw them into a panic, and the Israelites slaughtered great numbers of them at Gibeon. Then the Israelites chased the enemy along the road to Beth-horon, killing them all along the way to Azekah and Makkedah. As the Amorites retreated down the road from Beth-horon, the LORD destroyed them with a terrible hailstorm from heaven that continued until they reached Azekah. The hail killed more of the enemy than the Israelites killed with the sword. On the day the LORD gave the Israelites victory over the Amorites, Joshua prayed to the LORD in front of all the people of Israel. He said, “Let the sun stand still over Gibeon, and the moon over the valley of Aijalon.” So the sun stood still and the moon stayed in place until the nation of Israel had defeated its enemies. Is this event not recorded in The Book of Jashar? The sun stayed in the middle of the sky, and it did not set as on a normal day. There has never been a day like this one before or since, when the LORD answered such a prayer. Surely the LORD fought for Israel that day! Then Joshua and the Israelite army returned to their camp at Gilgal. During the battle the five kings escaped and hid in a cave at Makkedah. When Joshua heard that they had been found, he issued this command: “Cover the opening of the cave with large rocks, and place guards at the entrance to keep the kings inside. The rest of you continue chasing the enemy and cut them down from the rear. Don’t give them a chance to get back to their towns, for the LORD your God has given you victory over them.” So Joshua and the Israelite army continued the slaughter and completely crushed the enemy. They totally wiped out the five armies except for a tiny remnant that managed to reach their fortified towns. Then the Israelites returned safely to Joshua in the camp at Makkedah. After that, no one dared to speak even a word against Israel. Then Joshua said, “Remove the rocks covering the opening of the cave, and bring the five kings to me.” So they brought the five kings out of the cave—the kings of Jerusalem, Hebron, Jarmuth, Lachish, and Eglon. When they brought them out, Joshua told the commanders of his army, “Come and put your feet on the kings’ necks.” And they did as they were told. “Don’t ever be afraid or discouraged,” Joshua told his men. “Be strong and courageous, for the LORD is going to do this to all of your enemies.” Then Joshua killed each of the five kings and impaled them on five sharpened poles, where they hung until evening. As the sun was going down, Joshua gave instructions for the bodies of the kings to be taken down from the poles and thrown into the cave where they had been hiding. Then they covered the opening of the cave with a pile of large rocks, which remains to this very day. That same day Joshua captured and destroyed the town of Makkedah. He killed everyone in it, including the king, leaving no survivors. He destroyed them all, and he killed the king of Makkedah as he had killed the king of Jericho.

Joshua 10:1-28 King James Version (KJV)

Now it came to pass, when Adoni-zedec king of Jerusalem had heard how Joshua had taken Ai, and had utterly destroyed it; as he had done to Jericho and her king, so he had done to Ai and her king; and how the inhabitants of Gibeon had made peace with Israel, and were among them; that they feared greatly, because Gibeon was a great city, as one of the royal cities, and because it was greater than Ai, and all the men thereof were mighty. Wherefore Adoni-zedec king of Jerusalem sent unto Hoham king of Hebron, and unto Piram king of Jarmuth, and unto Japhia king of Lachish, and unto Debir king of Eglon, saying, Come up unto me, and help me, that we may smite Gibeon: for it hath made peace with Joshua and with the children of Israel. Therefore the five kings of the Amorites, the king of Jerusalem, the king of Hebron, the king of Jarmuth, the king of Lachish, the king of Eglon, gathered themselves together, and went up, they and all their hosts, and encamped before Gibeon, and made war against it. And the men of Gibeon sent unto Joshua to the camp to Gilgal, saying, Slack not thy hand from thy servants; come up to us quickly, and save us, and help us: for all the kings of the Amorites that dwell in the mountains are gathered together against us. So Joshua ascended from Gilgal, he, and all the people of war with him, and all the mighty men of valour. And the LORD said unto Joshua, Fear them not: for I have delivered them into thine hand; there shall not a man of them stand before thee. Joshua therefore came unto them suddenly, and went up from Gilgal all night. And the LORD discomfited them before Israel, and slew them with a great slaughter at Gibeon, and chased them along the way that goeth up to Beth-horon, and smote them to Azekah, and unto Makkedah. And it came to pass, as they fled from before Israel, and were in the going down to Beth-horon, that the LORD cast down great stones from heaven upon them unto Azekah, and they died: they were more which died with hailstones than they whom the children of Israel slew with the sword. Then spake Joshua to the LORD in the day when the LORD delivered up the Amorites before the children of Israel, and he said in the sight of Israel, Sun, stand thou still upon Gibeon; And thou, Moon, in the valley of Ajalon. And the sun stood still, and the moon stayed, Until the people had avenged themselves upon their enemies. Is not this written in the book of Jasher? So the sun stood still in the midst of heaven, and hasted not to go down about a whole day. And there was no day like that before it or after it, that the LORD hearkened unto the voice of a man: for the LORD fought for Israel. And Joshua returned, and all Israel with him, unto the camp to Gilgal. But these five kings fled, and hid themselves in a cave at Makkedah. And it was told Joshua, saying, The five kings are found hid in a cave at Makkedah. And Joshua said, Roll great stones upon the mouth of the cave, and set men by it for to keep them: and stay ye not, but pursue after your enemies, and smite the hindmost of them; suffer 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 which remained of them entered into fenced 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 which 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 that were therein; he let none remain: and he did to the king of Makkedah as he did unto the king of Jericho.

Joshua 10:1-28 New Century Version (NCV)

At this time Adoni-Zedek king of Jerusalem heard that Joshua had defeated Ai and completely destroyed it, as he had also done to Jericho and its king. The king also learned that the Gibeonites had made a peace agreement with Israel and that they lived nearby. Adoni-Zedek and his people were very afraid because of this. Gibeon was not a little town like Ai; it was a large city, as big as a city that had a king, and all its men were good fighters. So Adoni-Zedek king of Jerusalem sent a message to Hoham king of Hebron, Piram king of Jarmuth, Japhia king of Lachish, and Debir king of Eglon. He begged them, “Come with me and help me attack Gibeon, which has made a peace agreement with Joshua and the Israelites.” Then these five Amorite kings—the kings of Jerusalem, Hebron, Jarmuth, Lachish, and Eglon—gathered their armies, went to Gibeon, surrounded it, and attacked it. The Gibeonites sent this message to Joshua in his camp at Gilgal: “Don’t let us, your servants, be destroyed. Come quickly and help us! Save us! All the Amorite kings from the mountains have joined their armies and are fighting against us.” So Joshua marched out of Gilgal with his whole army, including his best fighting men. The LORD said to Joshua, “Don’t be afraid of those armies, because I will hand them over to you. None of them will be able to stand against you.” Joshua and his army marched all night from Gilgal for a surprise attack. The LORD confused those armies when Israel attacked, so Israel defeated them in a great victory at Gibeon. They chased them along the road going up to Beth Horon and killed men all the way to Azekah and Makkedah. As they chased the enemy down the Beth Horon Pass to Azekah, the LORD threw large hailstones on them from the sky and killed them. More people were killed by the hailstones than by the Israelites’ swords. On the day that the LORD gave up the Amorites to the Israelites, Joshua stood before all the people of Israel and said to the LORD: “Sun, stand still over Gibeon. Moon, stand still over the Valley of Aijalon.” So the sun stood still, and the moon stopped until the people defeated their enemies. These words are written in the Book of Jashar. The sun stopped in the middle of the sky and waited to go down for a full day. That has never happened at any time before that day or since. That was the day the LORD listened to a human being. Truly the LORD was fighting for Israel! After this, Joshua and his army went back to the camp at Gilgal. During the fight the five kings ran away and hid in a cave near Makkedah, but someone found them hiding in the cave at Makkedah and told Joshua. So he said, “Cover the opening of the cave with large rocks. Put some men there to guard it, but don’t stay there yourselves. Continue chasing the enemy and attacking them from behind. Don’t let them get to their cities, because the LORD your God will hand them over to you.” So Joshua and the Israelites killed the enemy, but a few were able to get back to their strong, walled cities. After the fighting, Joshua’s men came back safely to him at Makkedah. No one was brave enough to say a word against the Israelites. Joshua said, “Move the rocks that are covering the opening of the cave and bring those five kings out to me.” So Joshua’s men brought the five kings out of the cave—the kings of Jerusalem, Hebron, Jarmuth, Lachish, and Eglon. When they brought the five kings out to Joshua, he called for all his men. He said to the commanders of his army, “Come here! Put your feet on the necks of these kings.” So they came close and put their feet on their necks. Joshua said to his men, “Be strong and brave! Don’t be afraid, because I will show you what the LORD will do to the enemies you will fight in the future.” Then Joshua killed the five kings and hung their bodies on five trees, where he left them until evening. At sunset Joshua told his men to take the bodies down from the trees. Then they threw them into the same cave where they had been hiding and covered the opening of the cave with large rocks, which are still there today. That day Joshua defeated Makkedah. He killed the king and completely destroyed all the people in that city as an offering to the LORD; no one was left alive. He did the same thing to the king of Makkedah that he had done to the king of Jericho.

Joshua 10:1-28 American Standard Version (ASV)

Now it came to pass, when Adoni-zedek king of Jerusalem heard how Joshua had taken Ai, and had utterly destroyed it (as he had done to Jericho and her king, so he had done to Ai and her king), and how the inhabitants of Gibeon had made peace with Israel, and were among them; that they feared greatly, because Gibeon was a great city, as one of the royal cities, and because it was greater than Ai, and all the men thereof were mighty. Wherefore Adoni-zedek king of Jerusalem sent unto Hoham king of Hebron, and unto Piram king of Jarmuth, and unto Japhia king of Lachish, and unto Debir king of Eglon, saying, Come up unto me, and help me, and let us smite Gibeon; for it hath made peace with Joshua and with the children of Israel. Therefore the five kings of the Amorites, the king of Jerusalem, the king of Hebron, the king of Jarmuth, the king of Lachish, the king of Eglon, gathered themselves together, and went up, they and all their hosts, and encamped against Gibeon, and made war against it. And the men of Gibeon sent unto Joshua to the camp to Gilgal, saying, Slack not thy hand from thy servants; come up to us quickly, and save us, and help us: for all the kings of the Amorites that dwell in the hill-country are gathered together against us. So Joshua went up from Gilgal, he, and all the people of war with him, and all the mighty men of valor. And Jehovah said unto Joshua, Fear them not: for I have delivered them into thy hands; there shall not a man of them stand before thee. Joshua therefore came upon them suddenly; for he went up from Gilgal all the night. And Jehovah discomfited them before Israel, and he slew them with a great slaughter at Gibeon, and chased them by the way of the ascent of Beth-horon, and smote them to Azekah, and unto Makkedah. And it came to pass, as they fled from before Israel, while they were at the descent of Beth-horon, that Jehovah cast down great stones from heaven upon them unto Azekah, and they died: they were more who died with the hailstones than they whom the children of Israel slew with the sword. Then spake Joshua to Jehovah in the day when Jehovah delivered up the Amorites before the children of Israel; and he said in the sight of Israel, Sun, stand thou still upon Gibeon; And thou, Moon, in the valley of Aijalon. And the sun stood still, and the moon stayed, Until the nation had avenged themselves of their enemies. Is not this written in the book of Jashar? And the sun stayed in the midst of heaven, and hasted not to go down about a whole day. And there was no day like that before it or after it, that Jehovah hearkened unto the voice of a man: for Jehovah fought for Israel. And Joshua returned, and all Israel with him, unto the camp to Gilgal. And these five kings fled, and hid themselves in the cave at Makkedah. And it was told Joshua, saying, The five kings are found, hidden in the cave at Makkedah. And Joshua said, Roll great stones unto the mouth of the cave, and set men by it to keep them: but stay not ye; pursue after your enemies, and smite the hindmost of them; suffer them not to enter into their cities: for Jehovah 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, and the remnant which remained of them had entered into the fortified cities, that 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 forth 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, the king of Eglon. And it came to pass, when they brought forth those kings unto Joshua, that Joshua called for all the men of Israel, and said unto the chiefs of the men of war that 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 Jehovah do to all your enemies against whom ye fight. And afterward Joshua smote them, and put them to death, 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 hidden themselves, and laid great stones on the mouth of the cave, unto this very day. And Joshua took Makkedah on that day, and smote it with the edge of the sword, and the king thereof: he utterly destroyed them and all the souls that were therein; he left none remaining; and he did to the king of Makkedah as he had done unto the king of Jericho.

Joshua 10:1-28 New International Version (NIV)

Now Adoni-Zedek king of Jerusalem heard that Joshua had taken Ai and totally destroyed it, doing to Ai and its king as he had done to Jericho and its king, and that the people of Gibeon had made a treaty of peace with Israel and had become their allies. He and his people were very much alarmed at this, because Gibeon was an important city, like one of the royal cities; it was larger than Ai, and all its men were good fighters. So Adoni-Zedek king of Jerusalem appealed to Hoham king of Hebron, Piram king of Jarmuth, Japhia king of Lachish and Debir king of Eglon. “Come up and help me attack Gibeon,” he said, “because it has made peace with Joshua and the Israelites.” Then the five kings of the Amorites—the kings of Jerusalem, Hebron, Jarmuth, Lachish and Eglon—joined forces. They moved up with all their troops and took up positions against Gibeon and attacked it. The Gibeonites then sent word to Joshua in the camp at Gilgal: “Do not abandon your servants. Come up to us quickly and save us! Help us, because all the Amorite kings from the hill country have joined forces against us.” So Joshua marched up from Gilgal with his entire army, including all the best fighting men. The LORD said to Joshua, “Do not be afraid of them; I have given them into your hand. Not one of them will be able to withstand you.” After an all-night march from Gilgal, Joshua took them by surprise. The LORD threw them into confusion before Israel, so Joshua and the Israelites defeated them completely at Gibeon. Israel pursued them along the road going up to Beth Horon and cut them down all the way to Azekah and Makkedah. As they fled before Israel on the road down from Beth Horon to Azekah, the LORD hurled large hailstones down on them, and more of them died from the hail than were killed by the swords of the Israelites. On the day the LORD gave the Amorites over to Israel, Joshua said to the LORD in the presence of Israel: “Sun, stand still over Gibeon, and you, moon, over the Valley of Aijalon.” So the sun stood still, and the moon stopped, till the nation avenged itself on its enemies, as it is written in the Book of Jashar. The sun stopped in the middle of the sky and delayed going down about a full day. There has never been a day like it before or since, a day when the LORD listened to a human being. Surely the LORD was fighting for Israel! Then Joshua returned with all Israel to the camp at Gilgal. Now the five kings had fled and hidden in the cave at Makkedah. When Joshua was told that the five kings had been found hiding in the cave at Makkedah, he said, “Roll large rocks up to the mouth of the cave, and post some men there to guard it. But don’t stop; pursue your enemies! Attack them from the rear and don’t let them reach their cities, for the LORD your God has given them into your hand.” So Joshua and the Israelites defeated them completely, but a few survivors managed to reach their fortified cities. The whole army then returned safely to Joshua in the camp at Makkedah, and no one uttered a word against the Israelites. Joshua said, “Open the mouth of the cave and bring those five kings out to me.” So they brought the five kings out of the cave—the kings of Jerusalem, Hebron, Jarmuth, Lachish and Eglon. When they had brought these kings to Joshua, he summoned all the men of Israel and said to the army commanders who had come with him, “Come here and put your feet on the necks of these kings.” So they came forward and placed their feet on their necks. Joshua said to them, “Do not be afraid; do not be discouraged. Be strong and courageous. This is what the LORD will do to all the enemies you are going to fight.” Then Joshua put the kings to death and exposed their bodies on five poles, and they were left hanging on the poles until evening. At sunset Joshua gave the order and they took them down from the poles and threw them into the cave where they had been hiding. At the mouth of the cave they placed large rocks, which are there to this day. That day Joshua took Makkedah. He put the city and its king to the sword and totally destroyed everyone in it. He left no survivors. And he did to the king of Makkedah as he had done to the king of Jericho.

Joshua 10:1-28 Amplified Bible (AMP)

When Adoni-zedek king of Jerusalem heard that Joshua had captured Ai, and had utterly destroyed it—as he had done to Jericho and its king, so he had done to Ai and its king—and that the residents of Gibeon had made peace with Israel and were [living] among them, he [and his people] feared greatly, because Gibeon was a great city, like one of the royal cities, and because it was greater than Ai, and all its men were mighty. So Adoni-zedek king of Jerusalem sent word to Hoham king of Hebron, and to Piram king of Jarmuth, to Japhia king of Lachish, and to Debir king of Eglon, saying, “Come up to me and help me, and let us attack Gibeon [with a combined army], because it has made peace with Joshua and with the sons (people) of Israel.” Then the five kings of the Amorites, the king of Jerusalem, the king of Hebron, the king of Jarmuth, the king of Lachish, and the king of Eglon, gathered together and went up, they with all their armies, and they camped by Gibeon and fought against it. So the men of Gibeon sent word to Joshua at the camp in Gilgal, saying, “Do not abandon your servants; come up to us quickly and save us and help us, for all [five of] the kings of the Amorites who live in the hill country have assembled against us.” So Joshua went up from Gilgal, he and all the people of war with him, and all the men of valor. The LORD said to Joshua, “Do not fear them, because I have given them into your hand; not one of them shall stand before you.” So Joshua came upon them suddenly, [surprising them] by marching [uphill] all night from Gilgal. And the LORD caused them to panic and be confused before Israel, and He struck them dead in a great slaughter at Gibeon, and chased them along the way that goes up to Beth-horon and struck them as far as Azekah and Makkedah. As they fled before Israel, while they were at the descent of Beth-horon, the LORD threw down large stones [of hail] from heaven on them as far as Azekah, and they died. More [Amorites] died because of the hailstones than those whom the sons of Israel killed with the sword. Then Joshua spoke to the LORD on the day when the LORD handed over the Amorites to the sons of Israel, and Joshua said in the sight of Israel, “Sun, stand still at Gibeon, And moon, in the Valley of Aijalon.” So the sun stood still, and the moon stopped, Until the nation [of Israel] took vengeance upon their enemies. Is it not written in the Book of Jashar? So the sun stood still in the middle of the sky and was in no hurry to go down for about a whole day. There has not been a day like that before it or after it, when the LORD listened to (heeded) the voice of a man; for the LORD was fighting for Israel. Then Joshua and all Israel with him returned to the camp at Gilgal. Now these five [Amorite] kings fled and hid themselves in the cave at Makkedah. And Joshua was told, “The five kings have been found and are hidden in the cave at Makkedah.” Joshua said, “Roll large stones against the mouth of the cave, and assign men by it to guard them, but do not stay there yourselves; pursue your enemies and attack them from the rear. Do not allow them to enter their cities, for the LORD your God has given them into your hand.” Now when Joshua and the sons of Israel had finished striking the Amorites dead in a very great defeat, until they were wiped out, and the surviving remnant among them had entered the fortified cities, all the people returned to the camp to Joshua at Makkedah in peace. No one uttered a [threatening] word against any of the sons of Israel. Then Joshua said, “Open the mouth of the cave and bring out to me those five [Amorite] kings from the cave.” They did so, and brought these five [Amorite] kings out of the cave to him—the king of Jerusalem, the king of Hebron, the king of Jarmuth, the king of Lachish, and the king of Eglon. When they brought these kings out to Joshua, Joshua called for all the men of Israel, and told the commanders of the men of war who had gone with him, “Come up close, put your feet on the necks of these kings.” So they came forward and put their feet on the necks [of the five kings]. Joshua said to them, “Do not fear or be dismayed (intimidated)! Be strong and courageous, for this is what the LORD will do to all your enemies against whom you [are about to] fight.” Then afterward Joshua struck them [with his sword] and put them to death, and he hung them on five trees; and they hung on the trees until evening. At sunset Joshua gave a command, and they took the bodies down from the trees and threw them into the cave where the kings had hidden themselves, and placed large stones over the mouth of the cave, [where they remain] to this very day. Now Joshua captured Makkedah on that day, and struck it and its king with the edge of the sword; he utterly destroyed it and everyone who was in it. He left no survivor. So he did to the king of Makkedah just as he had done to the king of Jericho.

Joshua 10:1-28 English Standard Version 2016 (ESV)

As soon as Adoni-zedek, king of Jerusalem, heard how Joshua had captured Ai and had devoted it to destruction, doing to Ai and its king as he had done to Jericho and its king, and how the inhabitants of Gibeon had made peace with Israel and were among them, he feared greatly, because Gibeon was a great city, like one of the royal cities, and because it was greater than Ai, and all its men were warriors. So Adoni-zedek king of Jerusalem sent to Hoham king of Hebron, to Piram king of Jarmuth, to Japhia king of Lachish, and to Debir king of Eglon, saying, “Come up to me and help me, and let us strike Gibeon. For it has made peace with Joshua and with the people of Israel.” Then the five kings of the Amorites, the king of Jerusalem, the king of Hebron, the king of Jarmuth, the king of Lachish, and the king of Eglon, gathered their forces and went up with all their armies and encamped against Gibeon and made war against it. And the men of Gibeon sent to Joshua at the camp in Gilgal, saying, “Do not relax your hand from your servants. Come up to us quickly and save us and help us, for all the kings of the Amorites who dwell in the hill country are gathered against us.” So Joshua went up from Gilgal, he and all the people of war with him, and all the mighty men of valor. And the LORD said to Joshua, “Do not fear them, for I have given them into your hands. Not a man of them shall stand before you.” So Joshua came upon them suddenly, having marched up all night from Gilgal. And the LORD threw them into a panic before Israel, who struck them with a great blow at Gibeon and chased them by the way of the ascent of Beth-horon and struck them as far as Azekah and Makkedah. And as they fled before Israel, while they were going down the ascent of Beth-horon, the LORD threw down large stones from heaven on them as far as Azekah, and they died. There were more who died because of the hailstones than the sons of Israel killed with the sword. At that time Joshua spoke to the LORD in the day when the LORD gave the Amorites over to the sons of Israel, and he said in the sight of Israel, “Sun, stand still at Gibeon, and moon, in the Valley of Aijalon.” And the sun stood still, and the moon stopped, until the nation took vengeance on their enemies. Is this not written in the Book of Jashar? The sun stopped in the midst of heaven and did not hurry to set for about a whole day. There has been no day like it before or since, when the LORD heeded the voice of a man, for the LORD fought for Israel. So Joshua returned, and all Israel with him, to the camp at Gilgal. These five kings fled and hid themselves in the cave at Makkedah. 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; attack 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 until 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. Not 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, “Do not be afraid or dismayed; be strong and courageous. For 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 they hung on the trees until evening. But at the time of the going down of the sun, Joshua commanded, and they 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 Makkedah, 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 just as he had done to the king of Jericho.