When all the kings who were beyond the Jordan in the hill country and in the lowland all along the coast of the Great Sea toward Lebanon, the Hittites, the Amorites, the Canaanites, the Per'izzites, the Hivites, and the Jeb'usites, heard of this,
they gathered together with one accord to fight Joshua and Israel.
But when the inhabitants of Gibeon heard what Joshua had done to Jericho and to Ai,
they on their part acted with cunning, and went and made ready provisions, and took worn-out sacks upon their asses, and wineskins, worn-out and torn and mended,
with worn-out, patched sandals on their feet, and worn-out clothes; and all their provisions were dry and moldy.
And they went to Joshua in the camp at Gilgal, and said to him and to the men of Israel, "We have come from a far country; so now make a covenant with us."
But the men of Israel said to the Hivites, "Perhaps you live among us; then how can we make a covenant with you?"
They said to Joshua, "We are your servants." And Joshua said to them, "Who are you? And where do you come from?"
They said to him, "From a very far country your servants have come, because of the name of the LORD your God; for we have heard a 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, Sihon the king of Heshbon, and Og king of Bashan, who dwelt in Ash'taroth.
And our elders and all the inhabitants of our country said to us, 'Take provisions in your hand for the journey, and go to meet them, and say to them, "We are your servants; come now, make a covenant with us."'
Here is our bread; it was still warm when we took it from our houses as our food for the journey, on the day we set forth to come to you, but now, behold, it is dry and moldy;
these wineskins were new when we filled them, and behold, they are burst; and these garments and shoes of ours are worn out from the very long journey."
So the men partook of their provisions, and did not ask direction from the LORD.
And Joshua made peace with them, and made a covenant with them, to let them live; and the leaders of the congregation swore to them.
At the end of three days after they had made a covenant with them, they heard that they were their neighbors, and that they dwelt among them.
And the people of Israel set out and reached their cities on the third day. Now their cities were Gibeon, Chephi'rah, Be-er'oth, and Kir'iath-je'arim.
But the people of Israel did not kill them, because the leaders of the congregation had sworn to them by the LORD, the God of Israel. Then all the congregation murmured against the leaders.
But all the leaders said to all the congregation, "We have sworn to them by the LORD, the God of Israel, and now we may not touch them.
This we will do to them, and let them live, lest wrath be upon us, because of the oath which we swore to them."
And the leaders said to them, "Let them live." So they became hewers of wood and drawers of water for all the congregation, as the leaders had said of them.
Joshua summoned them, and he said to them, "Why did you deceive us, saying, 'We are very far from you,' when you dwell among us?
Now therefore you are cursed, and some of you shall always be slaves, hewers of wood and drawers of water for the house of my God."
They answered Joshua, "Because it was told to your servants for a certainty 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 from before you; so we feared greatly for our lives because of you, and did this thing.
And now, behold, we are in your hand: do as it seems good and right in your sight to do to us."
So he did to them, and delivered them out of the hand of the people 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 continue to this day, in the place which he should choose.
Revised Standard Version of the Bible, copyright 1952 [2nd edition, 1971] by the Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved. (Revised Standard Version - Holy Bible)