1 At this time Adoni Zedek was the king of Jerusalem. This king heard that Joshua had defeated Ai and completely destroyed it. The king learned that Joshua had done the same thing to Jericho and its king. The king also learned that the people of Gibeon had made a peace agreement with Israel. And those people lived very near Jerusalem. 2 So Adoni Zedek and his people were very scared. Gibeon was not a little town like Ai. Gibeon was a very big city—it was as big as any royal city. And all the men in that city were good fighters. So the king was afraid. 3 Adoni Zedek, the king of Jerusalem, talked with Hoham, king of Hebron. He also talked with Piram, king of Jarmuth, Japhia, king of Lachish, and Debir, king of Eglon. The king of Jerusalem begged these men, 4 “Come with me and help me to attack Gibeon. Gibeon has made a peace agreement with Joshua and the people of Israel.” 5 So these five Amorite kings joined armies. (The five kings were the king of Jerusalem, the king of Hebron, the king of Jarmuth, the king of Lachish, and the king of Eglon.) Those armies went to Gibeon. The armies surrounded the city and began fighting against it. 6 The people in the city of Gibeon sent a message to Joshua at his camp at Gilgal. The message said: “We are your servants! Don’t leave us alone. Come and help us! Hurry! Save us! All the Amorite kings from the hill country have brought their armies together to fight against us.” 7 So Joshua marched out of Gilgal with his whole army. Joshua’s best fighting men were with him. 8 The Lord said to Joshua, “Don’t be afraid of those armies. I will allow you to defeat them. None of those armies will be able to defeat you.” 9 Joshua and his army marched all night to Gibeon. ˻The enemy did not know that Joshua was coming.˼ So it was a complete surprise when he attacked them. 10 The Lord caused those armies to be very confused when Israel attacked. So Israel defeated them and won a great victory. Israel chased the enemy from Gibeon on the road going to Beth Horon. The army of Israel killed men all the way to Azekah and Makkedah. 11 Then the army of Israel chased the enemy down the road from Beth Horon to Azekah. While they were chasing the enemy, the Lord caused large hailstones to fall from the sky. Many of the enemy were killed by these large hailstones. More men were killed by the hailstones than by the swords of the soldiers of Israel. 12 That day the Lord allowed Israel to defeat the Amorite people. And that day Joshua stood before all the people of Israel and said to the Lord: “Sun, stop over Gibeon. Moon, stand still over the Valley of Aijalon.” 13 So the sun did not move, and the moon stopped until the people defeated their enemies. This story is written in the Book of Jashar. The sun stopped in the middle of the sky. It did not move for a full day. 14 That had never happened before. And it has never happened again! That was the day the Lord obeyed a man. The Lord really was fighting for Israel! 15 After this, Joshua and his army went back to the camp at Gilgal. 16 But during the fight, the five kings ran away. They hid in a cave near Makkedah. 17 But someone found them hiding in that cave. Joshua learned about this. 18 Joshua said, “Cover the entrance to the cave with large rocks. Put some men there to guard the cave. 19 But don’t stay there yourselves. Continue chasing the enemy. Continue to attack them from behind. Don’t let the enemy get back to their cities. The Lord your God has given you the victory over them.” 20 So Joshua and the people of Israel killed the enemy. But some of the enemy were able to go to their cities that had tall walls around them and hide. These men were not killed. 21 After the fighting, Joshua’s men came back to him at Makkedah. None of the people in that country were brave enough to say anything against the people of Israel. 22 Joshua said, “Move the rocks that are covering the entrance to the cave. Bring those five kings to me.” 23 So Joshua’s men brought the five kings out of the cave. They were the kings of Jerusalem, Hebron, Jarmuth, Lachish, and Eglon. 24 They brought the five kings to Joshua. Joshua called all his men to come to that place. Joshua said to the officers of his army, “Come here! Put your feet on the necks of these kings.” So the officers of Joshua’s army came close. They put their feet on the necks of the kings. 25 Then Joshua said to his men, “Be strong and brave! Don’t be afraid. I will show you what the Lord will do to all of the enemies that you will fight in the future.” 26 Then Joshua killed the five kings. He hanged their bodies on five trees. Joshua left them hanging in the trees until evening. 27 At sunset Joshua told his men to take the bodies down from the trees. So they threw the bodies into the cave where the kings had been hiding and covered the entrance of the cave with large rocks. Those bodies are still in that cave today. 28 That day Joshua defeated Makkedah. Joshua killed the king and the people in that city. There were no people left living. Joshua did the same thing to the king of Makkedah as he had done to the king of Jericho. 29 Then Joshua and all the people of Israel traveled from Makkedah. They went to Libnah and attacked that city. 30 The Lord allowed the people of Israel to defeat that city and its king. The people of Israel killed every person in that city. No people were left alive. And the people did the same thing to that king as they had done to the king of Jericho. 31 Then Joshua and all the people of Israel left Libnah and went to Lachish. Joshua and his army camped around that city and attacked it. 32 The Lord allowed them to defeat the city of Lachish. They defeated that city on the second day. The people of Israel killed every person in that city, just like they did in Libnah. 33 Horam king of Gezer came to help Lachish, but Joshua also defeated him and his army. Not one of them was left alive. 34 Then Joshua and all the people of Israel traveled from Lachish to Eglon. They camped around Eglon and attacked it. 35 That day they captured the city and killed all the people in the city. This was the same thing they had done to Lachish. 36 Then Joshua and all the people of Israel traveled from Eglon to Hebron. Then they attacked Hebron. 37 They captured the city and all the little towns near Hebron. The people of Israel killed every person in the city. No one was left alive there. This was the same thing they did to Eglon. They destroyed the city and killed all the people in it. 38 Then Joshua and all the people of Israel went back to Debir and attacked that city. 39 They captured that city, its king, and all the little towns near Debir. They killed every person in that city. No one was left alive there. The people of Israel did to Debir and its king the same thing they did to Hebron and its king. This was the same thing they had done to Libnah and its king. 40 So Joshua defeated all the kings of the cities of the hill country, the Negev, the western foothills, and the eastern foothills. The Lord God of Israel had told Joshua to kill all the people. So Joshua did not leave anyone alive in those places. 41 Joshua captured all the cities from Kadesh Barnea to Gaza. He captured all the cities from the land of Goshen ˻(in Egypt)˼ to Gibeon. 42 Joshua captured all those cities and their kings on one trip. Joshua did this because the Lord God of Israel was fighting for Israel. 43 Then Joshua and all the people of Israel returned to their camp at Gilgal.