1When all the kings who were beyond the Jordan — in the hill country and in the lowland and all along the shore of the Great Sea toward Lebanon — the Hittite, the Amorite, the Canaanite, the Perizzite, the Hivite, and the Jebusite — heard, 2they gathered together, with one voice, to fight against Joshua and against Israel.
3But the inhabitants of Gibeon heard what Joshua had done to Jericho and to Ai. 4They also acted with cunning. They went and pretended to be envoys, and took worn-out sacks for their donkeys, and worn-out wineskins, torn and mended, 5and worn-out, patched sandals on their feet, and worn-out clothes on themselves. And all the bread of their provisions was dry and crumbled.
6They went to Joshua, to the camp at Gilgal, and said to him and to the men of Israel, “We have come from a far land. Now make a covenant with us.”
7The men of Israel said to the Hivite, “Perhaps you dwell among us. How then can I make a covenant with you?”
8They said to Joshua, “We are your servants.”
Joshua said to them, “Who are you, and from where do you come?”
9They said to him, Your servants have come from a very far land, because of the name of Adonai your Elohim. For we have heard his fame, and all that he did in Egypt, 10and 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. 11Our elders and all the inhabitants of our land 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 make a covenant with us. 12This is our bread. We took it warm as provisions from our houses on the day we set out to come to you. And now, see, it is dry and has become crumbled. 13And these are the wineskins. We filled them new, and see, they have burst. And these are our clothes and our sandals. They have worn out from the very long journey.
14The men took from their provisions, and they did not ask the mouth of Adonai. 15Joshua made peace with them and made a covenant with them, to let them live, and the leaders of the congregation swore to them.
16After three days, after they had made a covenant with them, they heard that they were near to him, and that they dwelled among him. 17The sons of Israel set out and came to their cities on the third day. Their cities were Gibeon, Chephirah, Beeroth, and Kiriath-jearim. 18The sons of Israel did not strike them, because the leaders of the congregation had sworn to them by Adonai, the Elohim of Israel. And the whole congregation grumbled against the leaders. 19All the leaders said to the whole congregation, “We have sworn to them by Adonai, the Elohim of Israel. Now we cannot touch them. 20This we will do to them, and let them live, so that wrath will not be upon us because of the oath that we swore to them.” 21The leaders said to them, “Let them live.” And they became cutters of wood and drawers of water for the whole congregation, just as the leaders had spoken to them.
22Joshua called them and spoke to them, saying, “Why did you deceive us, saying, ‘We are very far from you,’ when you dwell among us? 23Now you are cursed, and there shall never be cut off from you a slave, and cutters of wood and drawers of water for the house of my Elohim.”
24They answered Joshua and said, “Because it was surely told to your servants what Adonai your Elohim commanded Moses his servant, to give you all the land and to destroy all the inhabitants of the land before you. And we feared greatly for our lives because of you, and we did this thing. 25And now, see, we are in your hand. Do to us what is good and what is right in your eyes to do to us.” 26He did so to them, and he delivered them from the hand of the sons of Israel, and they did not kill them. 27Joshua made them that day cutters of wood and drawers of water for the congregation and for the altar of Adonai, to this day, at the place that he would choose.