Now it came about when all the kings who were beyond the Jordan, in the hill country and in the lowland and on all the coast of the Great Sea toward Lebanon, the Hittite and the Amorite, the Canaanite, the Perizzite, the Hivite and the Jebusite, heard of it,
that they gathered themselves together with one accord to fight with Joshua and with Israel.
When the inhabitants of Gibeon heard what Joshua had done to Jericho and to Ai,
they also acted craftily and set out as envoys, and took worn-out sacks on their donkeys, and wineskins worn-out and torn and mended,
and worn-out and patched sandals on their feet, and worn-out clothes on themselves; and all the bread of their provision was dry and had become crumbled.
They went to Joshua to the camp at Gilgal and said to him and to the men of Israel, "We have come from a far country ; now therefore, make a covenant with us."
The men of Israel said to the Hivites, "Perhaps you are living within our land ; how then shall we make a covenant with you?"
But they said to Joshua, "We are your servants." Then Joshua said to them, "Who are you and where do you come from?"
They said to him, "Your servants have come from a very far country because of the fame of the LORD your God ; for we have heard the report of Him and all that He did in Egypt,
and all that He did to the two kings of the Amorites who were beyond the Jordan, to Sihon king of Heshbon and to Og king of Bashan who was at Ashtaroth.
"So our elders and all the inhabitants of our country spoke to us, saying, 'Take provisions in your hand for the journey, and go to meet them and say to them, "We are your servants ; now then, make a covenant with us."'
"This our bread was warm when we took it for our provisions out of our houses on the day that we left to come to you; but now behold, it is dry and has become crumbled.
"These wineskins which we filled were new, and behold, they are torn ; and these our clothes and our sandals are worn out because of the very long journey."
So the men of Israel took some of their provisions, and did not ask for the counsel of the LORD.
Joshua made peace with them and made a covenant with them, to let them live ; and the leaders of the congregation swore an oath to them.
It came about at the end of three days after they had made a covenant with them, that they heard that they were neighbors and that they were living within their land.
Then the sons of Israel set out and came to their cities on the third day. Now their cities were Gibeon and Chephirah and Beeroth and Kiriath-jearim.
The sons of Israel did not strike them because the leaders of the congregation had sworn to them by the LORD the God of Israel. And the whole congregation grumbled against the leaders.
But all the leaders said to the whole congregation, "We have sworn to them by the LORD, the God of Israel, and now we cannot touch them.
"This we will do to them, even let them live, so that wrath will not be upon us for the oath which we swore to them."
The leaders said to them, "Let them live." So they became hewers of wood and drawers of water for the whole congregation, just as the leaders had spoken to them.
Then Joshua called for them and spoke to them, saying, "Why have you deceived us, saying, 'We are very far from you,' when you are living within our land ?
"Now therefore, you are cursed, and you shall never cease being slaves, both hewers of wood and drawers of water for the house of my God."
So they answered Joshua and said, "Because it was certainly told your servants that the LORD your God had commanded His servant Moses to give you all the land, and to destroy all the inhabitants of the land before you; therefore we feared greatly for our lives because of you, and have done this thing.
"Now behold, we are in your hands ; do as it seems good and right in your sight to do to us."
Thus he did to them, and delivered them from the hands of the sons of Israel, and they did not kill them.
But Joshua made them that day hewers of wood and drawers of water for the congregation and for the altar of the LORD, to this day, in the place which He would choose.
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.
Then Joshua and all Israel with him passed on from Makkedah to Libnah, and fought against Libnah.
The LORD gave it also with its king into the hands of Israel, and he struck it and every person who was in it with the edge of the sword. He left no survivor in it. Thus he did to its king just as he had done to the king of Jericho.
And Joshua and all Israel with him passed on from Libnah to Lachish, and they camped by it and fought against it.
The LORD gave Lachish into the hands of Israel ; and he captured it on the second day, and struck it and every person who was in it with the edge of the sword, according to all that he had done to Libnah.
Then Horam king of Gezer came up to help Lachish, and Joshua defeated him and his people until he had left him no survivor.
And Joshua and all Israel with him passed on from Lachish to Eglon, and they camped by it and fought against it.
They captured it on that day and struck it with the edge of the sword ; and he utterly destroyed that day every person who was in it, according to all that he had done to Lachish.
Then Joshua and all Israel with him went up from Eglon to Hebron, and they fought against it.
They captured it and struck it and its king and all its cities and all the persons who were in it with the edge of the sword. He left no survivor, according to all that he had done to Eglon. And he utterly destroyed it and every person who was in it.
Then Joshua and all Israel with him returned to Debir, and they fought against it.
He captured it and its king and all its cities, and they struck them with the edge of the sword, and utterly destroyed every person who was in it. He left no survivor. Just as he had done to Hebron, so he did to Debir and its king, as he had also done to Libnah and its king.
Thus Joshua struck all the land, the hill country and the Negev and the lowland and the slopes and all their kings. He left no survivor, but he utterly destroyed all who breathed, just as the LORD, the God of Israel, had commanded.
Joshua struck them from Kadesh-barnea even as far as Gaza, and all the country of Goshen even as far as Gibeon.
Joshua captured all these kings and their lands at one time, because the LORD, the God of Israel, fought for Israel.
So Joshua and all Israel with him returned to the camp at Gilgal.
Then it came about, when Jabin king of Hazor heard of it, that he sent to Jobab king of Madon and to the king of Shimron and to the king of Achshaph,
and to the kings who were of the north in the hill country, and in the Arabah -south of Chinneroth and in the lowland and on the heights of Dor on the west -
to the Canaanite on the east and on the west, and the Amorite and the Hittite and the Perizzite and the Jebusite in the hill country, and the Hivite at the foot of Hermon in the land of Mizpeh.
They came out, they and all their armies with them, as many people as the sand that is on the seashore , with very many horses and chariots.
So all of these kings having agreed to meet, came and encamped together at the waters of Merom, to fight against Israel.
Then the LORD said to Joshua, "Do not be afraid because of them, for tomorrow at this time I will deliver all of them slain before Israel ; you shall hamstring their horses and burn their chariots with fire."
So Joshua and all the people of war with him came upon them suddenly by the waters of Merom, and attacked them.
The LORD delivered them into the hand of Israel, so that they defeated them, and pursued them as far as Great Sidon and Misrephoth-maim and the valley of Mizpeh to the east ; and they struck them until no survivor was left to them.
Joshua did to them as the LORD had told him; he hamstrung their horses and burned their chariots with fire.
Then Joshua turned back at that time, and captured Hazor and struck its king with the sword ; for Hazor formerly was the head of all these kingdoms.
They struck every person who was in it with the edge of the sword, utterly destroying them; there was no one left who breathed. And he burned Hazor with fire.
Joshua captured all the cities of these kings, and all their kings, and he struck them with the edge of the sword, and utterly destroyed them; just as Moses the servant of the LORD had commanded.
However, Israel did not burn any cities that stood on their mounds, except Hazor alone, which Joshua burned.
All the spoil of these cities and the cattle, the sons of Israel took as their plunder ; but they struck every man with the edge of the sword, until they had destroyed them. They left no one who breathed.
Just as the LORD had commanded Moses his servant, so Moses commanded Joshua, and so Joshua did ; he left nothing undone of all that the LORD had commanded Moses.
Thus Joshua took all that land : the hill country and all the Negev, all that land of Goshen, the lowland, the Arabah, the hill country of Israel and its lowland
from Mount Halak, that rises toward Seir, even as far as Baal-gad in the valley of Lebanon at the foot of Mount Hermon. And he captured all their kings and struck them down and put them to death.
Joshua waged war a long time with all these kings.
There was not a city which made peace with the sons of Israel except the Hivites living in Gibeon ; they took them all in battle.
For it was of the LORD to harden their hearts, to meet Israel in battle in order that he might utterly destroy them, that they might receive no mercy, but that he might destroy them, just as the LORD had commanded Moses.
Then Joshua came at that time and cut off the Anakim from the hill country, from Hebron, from Debir, from Anab and from all the hill country of Judah and from all the hill country of Israel. Joshua utterly destroyed them with their cities.
There were no Anakim left in the land of the sons of Israel ; only in Gaza, in Gath, and in Ashdod some remained.
So Joshua took the whole land, according to all that the LORD had spoken to Moses, and Joshua gave it for an inheritance to Israel according to their divisions by their tribes. Thus the land had rest from war.