Joshua commands the sun to stand still
1King Adonizedek of Jerusalem#10.1 Jerusalem: Jerusalem was not an Israelite city at this time. heard that Joshua had captured and destroyed the town of Ai, and then killed its king as he had done at Jericho. He also learnt that the Gibeonites had signed a peace treaty with Israel. 2This frightened Adonizedek and his people. They knew that Gibeon was a large town, as big as the towns that had kings, and even bigger than the town of Ai had been. And all the men of Gibeon were warriors. 3So Adonizedek sent messages to the kings of four other towns: King Hoham of Hebron, King Piram of Jarmuth, King Japhia of Lachish, and King Debir of Eglon. The messages said, 4“The Gibeonites have signed a peace treaty with Joshua and the Israelites. Come and help me attack Gibeon!”
5When these five Amorite kings called their armies together and attacked Gibeon, 6the Gibeonites sent a message to the Israelite camp at Gilgal: “Joshua, please come and rescue us! The Amorite kings from the hill country have joined together and are attacking us. We are your servants, so don't let us down. Please hurry!”
7Joshua and his army, including his best warriors, left Gilgal. 8“Joshua,” the Lord said, “don't be afraid of the Amorites. They will run away when you attack, and I will help you defeat them.”
9Joshua marched all night from Gilgal to Gibeon and made a surprise attack on the Amorite camp. 10The Lord made the enemy panic, and the Israelites started killing them right and left. They#10.10 They: Or “The Lord”. chased the Amorite troops up the road to Beth-Horon and kept on killing them, until they reached the towns of Azekah and Makkedah.#10.10 Makkedah: A total distance of about forty kilometres. 11And while these troops were going down through Beth-Horon Pass,#10.11 Beth-Horon Pass: A three-kilometre long, steeply-sloping valley between the towns of Upper Beth-Horon and Lower Beth-Horon. the Lord made huge hailstones fall on them all the way to Azekah. More of the enemy soldiers died from the hail than from the Israelite weapons.
12-13 # 2 Sam 1.18 The Lord was helping the Israelites defeat the Amorites that day. So about midday, Joshua prayed to the Lord loud enough for the Israelites to hear:
“Our Lord, make the sun stop
in the sky over Gibeon,
and the moon stand still
over Aijalon Valley.”#10.12,13 Aijalon Valley: A valley south-west of Beth-Horon Pass.
So the sun and the moon
stopped and stood still
until Israel defeated its enemies.
This poem can be found in The Book of Jashar.#10.12,13 Book of Jashar: This book may have been a collection of ancient war songs. The sun stood still and didn't go down for about a whole day. 14Never before and never since has the Lord done anything like that for someone who prayed. The Lord was really fighting for Israel.
15After the battle, Joshua and the Israelites went back to their camp at Gilgal.
Israel takes over much of the land of Canaan
Joshua kills the five enemy kings
16While the enemy soldiers were running from the Israelites, the five enemy kings ran away and hid in a cave near Makkedah. 17Joshua's soldiers told him, “The five kings have been found in a cave near Makkedah.”
18Joshua answered, “Roll some big stones over the mouth of the cave and leave a few soldiers to guard it. 19But you and everyone else must keep following the enemy troops, because they will be safe if they reach their walled towns. Don't let them get away! The Lord our God is helping us get rid of them.” 20So Joshua and the Israelites almost wiped out the enemy soldiers. Only a few safely reached their walled towns.
21The Israelite army returned to their camp at Makkedah, where Joshua was waiting for them. No one around there dared say anything bad about the Israelites. 22Joshua told his soldiers, “Now, move the rocks from the entrance to the cave and bring those five kings to me.”
23The soldiers opened the entrance to the cave and brought out the kings of Jerusalem, Hebron, Jarmuth, Lachish, and Eglon. 24After Joshua had called the army together, he forced the five kings to lie down on the ground. Then he called his officers forward and told them, “You fought these kings along with me, so put your feet on their necks.” The officers did, 25and Joshua continued, “Don't ever be afraid or discouraged. Be brave and strong. This is what the Lord will do to all your enemies.”
26Joshua killed the five kings and told his men to hang each body on a tree. Then at sunset 27he told some of his troops, “Take the bodies down and throw them into the cave where the kings were found. Cover the entrance to the cave with big rocks.”
Joshua's troops obeyed his orders, and those rocks are still there.
Joshua continues the fighting
28Later that day, Joshua captured Makkedah and killed its king and everyone else in the town, just as he had done at Jericho.
29Joshua and his army left Makkedah and attacked the town of Libnah. 30The Lord let them capture the town and its king, and they killed the king and everyone else, just as they had done at Jericho.
31Joshua then led his army to Lachish, and they set up camp around the town. They attacked, 32and the next day the Lord let them capture the town. They killed everyone, as they had done at Libnah. 33King Horam of Gezer arrived to help Lachish, but Joshua and his troops attacked and destroyed him and his army.
34From Lachish, Joshua took his troops to Eglon, where they set up camp surrounding the town. They attacked, 35captured it that same day, then killed everyone, as they had done at Lachish.
36Joshua and his army left Eglon and attacked Hebron. 37They captured the town and the nearby villages, then killed everyone, including the king. They destroyed Hebron in the same way they had destroyed Eglon.
38Joshua and the Israelite army turned and attacked Debir. 39They captured the town, and its nearby villages. Then they destroyed Debir and killed its king, together with everyone else, just as they had done with Hebron and Libnah.
40Joshua captured towns everywhere in the land: in the central hill country and the foothills to the west, in the Southern Desert and the region that slopes down towards the Dead Sea. Whenever he captured a town, he would kill the king and everyone else, as the Lord God of Israel had commanded. 41Joshua wiped out towns from Kadesh-Barnea to Gaza, everywhere in the region of Goshen,#10.41 Goshen: A region between the hill country of Judah and the desert further south. Not the same Goshen as in Genesis 47.4–6. and as far north as Gibeon. 42-43The Lord fought on Israel's side, so Joshua and the Israelite army were able to capture these kings and take their land. They fought one battle after another, then they went back to their camp at Gilgal after capturing all that land.