And it came to pass when all the kings who were on this side of the Jordan, in the hills and in the valleys and in all the borders of the Great Sea over against Lebanon -- the Hittite, and the Amorite, the Canaanite, the Perizzite, the Hivite, and the Jebusite -- heard thereof,
that they gathered themselves together to fight with Joshua and with Israel with one accord.
And when the inhabitants of Gibeon heard what Joshua had done unto Jericho and to Ai,
they worked cunningly, and went and made as if they had been ambassadors, and took old sacks upon their asses, and wineskins, old and rent and bound up,
and old and patched shoes upon their feet, and old garments upon them; and all the bread of their provision was dry and moldy.
And they went to Joshua unto the camp at Gilgal, and said unto him and to the men of Israel, "We have come from a far country. Now therefore make ye a league with us."
And the men of Israel said unto the Hivites, "Perhaps ye dwell among us. Then how shall we make a league with you?"
And they said unto Joshua, "We are thy servants." And Joshua said unto them, "Who are ye? And from whence come ye?"
And they said unto him, "From a very far country thy servants have come because of the name of the LORD thy God; for we have heard the fame 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.
Therefore our elders and all the inhabitants of our country spoke to us, saying, `Take provisions with you for the journey, and go to meet them and say unto them, "We are your servants. Therefore now make ye a league with us."'
This our bread we took hot for our provision out of our houses on the day we came forth to go unto you; but now, behold, it is dry and it is moldy.
And these skins of wine which we filled were new, and behold, they are rent; and these our garments and our shoes have become old by reason of the very long journey."
And the men took of their provisions, and asked not counsel at the mouth of the LORD.
And Joshua made peace with them, and made a league with them to let them live; and the princes of the congregation swore unto them.
And it came to pass at the end of three days after they had made a league with them, that they heard that they were their neighbors and that they dwelt among them.
And the children of Israel journeyed and came unto their cities on the third day. Now their cities were Gibeon, and Chephirah, and Beeroth, and Kirjathjearim.
And the children of Israel smote them not, because the princes of the congregation had sworn unto them by the LORD God of Israel. And all the congregation murmured against the princes.
But all the princes said unto all the congregation, "We have sworn unto them by the LORD God of Israel. Now therefore we may not touch them.
This we will do to them: we will even let them live, lest wrath be upon us because of the oath which we swore unto them."
And the princes said unto them, "Let them live, but let them be hewers of wood and drawers of water unto all the congregation, as the princes had promised them."
And Joshua called for them, and he spoke unto them, saying, "Why have ye beguiled us, saying, `We are very far from you,' when ye dwell among us?
Now therefore ye are cursed, and there shall none of you be freed from being bondmen and hewers of wood and drawers of water for the house of my God."
And they answered Joshua and said, "Because it was certainly told thy servants how the LORD thy God commanded his servant Moses to give you all the land and to destroy all the inhabitants of the land from before you, therefore we were sore afraid for our lives because of you, and have done this thing.
And now, behold, we are in thine hand: as it seemeth good and right unto thee to do unto us, do."
And so did he unto them, and delivered them out of the hand of the children of Israel, that they slew them not.
And Joshua made them that day hewers of wood and drawers of water for the congregation and for the altar of the LORD, even unto this day, in the place which He should choose.