Now Adoni-zedek king of Jerusalem heard that Joshua had captured Ai and completely destroyed it, doing to Ai and its king as he had done to Jericho and its king, and that the inhabitants of Gibeon had made peace with Israel and were [living] among them.
So Adoni-zedek and his people were greatly alarmed because Gibeon was a large city like one of the royal cities; it was larger than Ai, and all its men were warriors.
Therefore 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, saying,
"Come up and help me. We will attack Gibeon, because they have made peace with Joshua and the Israelites."
So the five Amorite kings-- the kings of Jerusalem, Hebron, Jarmuth, Lachish, and Eglon-- joined forces, advanced with all their armies, besieged Gibeon, and fought against it.
Then the men of Gibeon sent [word] to Joshua in the camp at Gilgal: "Don't abandon your servants. Come quickly and save us! Help us, for all the Amorite kings living in the hill country have joined forces against us."
So Joshua and his whole military force, including all the fighting men, came from Gilgal.
The LORD said to Joshua, "Do not be afraid of them, for I have handed them over to you. Not one of them will be able to stand against you."
So Joshua caught them by surprise, after marching all night from Gilgal.
The LORD threw them into confusion before Israel. He defeated them in a great slaughter at Gibeon, chased them through the ascent of Beth-horon, and struck them down as far as Azekah and Makkedah.
As they fled before Israel, the LORD threw large hailstones on them from the sky along the descent of Beth-horon all the way to Azekah, and they died. More of them died from the hail than the Israelites killed with the sword.
On the day the LORD gave the Amorites over to the Israelites, Joshua spoke to the LORD in the presence of Israel: "Sun, stand still over Gibeon, and moon, over the valley of Aijalon."
And the sun stood still and the moon stopped, until the nation took vengeance on its enemies. Isn't this written in the Book of Jashar? So the sun stopped in the middle of the sky and delayed its setting almost a full day.
There has been no day like it before or since, when the LORD listened to the voice of a man, because the LORD fought for Israel.
Then Joshua and all Israel with him returned to the camp at Gilgal.
Now the five [defeated] kings had fled and hidden themselves in the cave at Makkedah.
It was reported to Joshua: "The five kings have been found; they are hiding in the cave at Makkedah."
Joshua said, "Roll large stones against the mouth of the cave, and station men by it to guard the kings.
But as for the rest of you, don't stay there. Pursue your enemies and attack them from behind. Don't let them enter their cities, for the LORD your God has handed them over to you."
So Joshua and the Israelites finished inflicting a terrible slaughter on them until they were destroyed, although a few survivors ran away to the fortified cities.
The people returned safely to Joshua in the camp at Makkedah. No one could say a thing against the Israelites.
Then Joshua said, "Open the mouth of the cave, and bring those five kings to me out of there."
That is what they did. They brought the five kings of Jerusalem, Hebron, Jarmuth, Lachish, and Eglon to Joshua out of the cave.
When they had brought the kings to him, Joshua summoned all the men of Israel and said to the military commanders who had accompanied him, "Come here and put your feet on the necks of these kings." So the commanders came forward and put their feet on their necks.
Joshua said to them, "Do not be afraid or discouraged. Be strong and courageous, for the LORD will do this to all the enemies you fight."
After this, Joshua struck them down and executed them. He hung their bodies on five trees and they were there until evening.
At sunset Joshua commanded that they be taken down from the treesand thrown into the cave where they had hidden. Then large stones were placed against the mouth of the cave, and the stones are there to this day.
On that day Joshua captured Makkedah and struck it down with the sword, including its king. He completely destroyed it and everyone in it, leaving no survivors. So he treated the king of Makkedah as he had the king of Jericho.
Joshua and all Israel with him crossed from Makkedah to Libnah and fought against Libnah.
The LORD also handed it and its king over to Israel. He struck it down, putting everyone in it to the sword, and left no survivors in it. He treated Libnah's king as he had the king of Jericho.
From Libnah, Joshua and all Israel with him crossed to Lachish. They laid siege to it and attacked it.
The LORD handed Lachish over to Israel, and Joshua captured it on the second day. He struck it down, putting everyone in it to the sword, just as he had done to Libnah.
At that time Horam king of Gezer went to help Lachish, but Joshua struck him down along with his people, leaving no survivors in it.
Then Joshua crossed from Lachish to Eglon and all Israel with him. They laid siege to it and attacked it.
On that day they captured it and struck it down, putting everyone in it to the sword. He completely destroyed it that day, just as he had done to Lachish.
Next, Joshua and all Israel with him went up from Eglon to Hebron and attacked it.
They captured it and struck down its king, all its villages, and everyone in it with the sword. Just as he had done at Eglon, he left no survivors. He completely destroyed Hebron and everyone in it.
Finally, Joshua turned toward Debir and attacked it. And all Israel was with him.
He captured it-- its king and all its villages. They struck them down with the sword and completely destroyed everyone in it, leaving no survivors. He treated Debir and its king as he had treated Hebron and as he had treated Libnah and its king.
So Joshua conquered the whole region-- the hill country, the Negev, the Judean foothills, and the slopes-- with all their kings, leaving no survivors. He completely destroyed every living being, as the LORD, the God of Israel, had commanded.
Joshua conquered everyone from Kadesh-barnea to Gaza, and all the land of Goshen as far as Gibeon.
Joshua captured all these kings and their land in one campaign, because the Lord, the God of Israel, fought for Israel.
Then Joshua returned with all Israel to the camp at Gilgal.
When Jabin king of Hazor heard [this news], he sent [a message] to: Jobab king of Madon, the kings of Shimron and Achshaph,
and the kings of the north in the hill country, the plain south of Chinnereth, the Judean foothills, and the Slopes of Dor to the west,
the Canaanites in the east and west, the Amorites, Hittites, Perizzites, and Jebusites in the hill country, and the Hivites at the foot of Hermon in the land of Mizpah.
They went out with all their armies-- a multitude as numerous as the sand on the seashore-- along with a vast number of horses and chariots.
All these kings joined forces; they came together and camped at the waters of Merom to attack Israel.
The LORD said to Joshua, "Do not be afraid of them, for at this time tomorrow I will hand all of them over dead to Israel. You are to hamstring their horses and burn up their chariots."
So Joshua and his whole military force surprised them at the waters of Merom and attacked them.
The LORD handed them over to Israel, and they struck them down, pursuing them as far as Great Sidon and Misrephoth-maim, and to the east as far as the valley of Mizpeh. They struck them down, leaving no survivors.
Joshua treated them as the LORD had told him; he hamstrung their horses and burned up their chariots.
At that time Joshua turned back, captured Hazor, and struck down its king with the sword, because Hazor had formerly been the leader of all these kingdoms.
They struck down everyone in it with the sword, completely destroying them; he left no one alive. Then he burned down Hazor.
Joshua captured all these kings and their cities and struck them down with the sword. He completely destroyed them, as Moses the LORD's servant had commanded.
However, Israel did not burn any of the cities that stood on their mounds except Hazor, which Joshua burned.
The Israelites plundered all the spoils and cattle of these cities for themselves. But they struck down every person with the sword until they had annihilated them, leaving no one alive.
Just as the LORD had commanded His servant Moses, Moses commanded Joshua. That is what Joshua did, leaving nothing undone of all that the LORD had commanded Moses.
So Joshua took all this land-- the hill country, all the Negev, all the land of Goshen, the Judean foothills, the plain, and the hill country of Israel with its Judean foothills--
from Mount Halak, which ascends to Seir, as far as Baal-gad in the Valley of Lebanon at the foot of Mount Hermon. He captured all their kings and struck them down, putting them to death.
Joshua waged war with all these kings for a long time.
No city made peace with the Israelites except the Hivites who inhabited Gibeon; all of them were taken in battle.
For it was the LORD's intention to harden their hearts, so that they would engage Israel in battle, be completely destroyed without mercy, and be annihilated, just as the LORD had commanded Moses.
At that time Joshua proceeded to exterminate the Anakim from the hill country-- Hebron, Debir, Anab-- all the hill country of Judah and of Israel. Joshua completely destroyed them with their cities.
No Anakim were left in the land of the Israelites, except for some remaining in Gaza, Gath, and Ashdod.
So Joshua took the entire land, in keeping with all that the LORD had told Moses. Joshua then gave it as an inheritance to Israel according to their tribal allotments. After this, the land had rest from war.
The Israelites struck down the following kings of the land and took possession of their land beyond the Jordan to the east and from the Arnon Valley to Mount Hermon, including all the Arabah eastward:
Sihon king of the Amorites lived in Heshbon. He ruled [over the territory] from Aroer on the rim of the Arnon Valley, along the middle of the valley, and half of Gilead up to the Jabbok River (the border of the Ammonites),
the Arabah east of the Sea of Chinnereth to the Sea of the Arabah (that is, the Dead Sea), eastward through Beth-jeshimoth and southward below the slopes of Pisgah.
Og king of Bashan, of the remnant of the Rephaim, lived in Ashtaroth and Edrei.
He ruled over Mount Hermon, Salecah, all Bashan up to the Geshurite and Maacathite border, and half of Gilead to the border of Sihon, king of Heshbon.
Moses the LORD's servant and the Israelites struck them down. And Moses the LORD's servant gave their land as an inheritance to the Reubenites, Gadites, and half the tribe of Manasseh.
Joshua and the Israelites struck down the following kings of the land beyond the Jordan to the west, from Baal-gad in the valley of Lebanon to Mount Halak, which ascends toward Seir (Joshua gave their land as an inheritance to the tribes of Israel according to their allotments:
the hill country, the Judean foothills, the plain, the slopes, the desert, and the Negev of the Hittites, Amorites, Canaanites, Perizzites, Hivites, and Jebusites):
the king of Jericho one the king of Ai, which is next to Bethel one
the king of Jerusalem one the king of Hebron one
the king of Jarmuth one the king of Lachish one
the king of Eglon one the king of Gezer one
the king of Debir one the king of Geder one
the king of Hormah one the king of Arad one
the king of Libnah one the king of Adullam one
the king of Makkedah one the king of Bethel one
the king of Tappuah one the king of Hepher one
the king of Aphek one the king of Lasharon one
the king of Madon one the king of Hazor one
the king of Shimron-meron one the king of Achshaph one
the king of Taanach one the king of Megiddo one
the king of Kedesh one the king of Jokneam in Carmel one
the king of Dor in Naphoth-dor one the king of Goiim in Gilgal one
the king of Tirzah one [the total number of] all kings: 31