1All the kings across the Jordan heard of it. They were in the hill country, the foothills, and along the whole coast of the Great Sea toward Lebanon: the Hittites, Amorites, Canaanites, Perizzites, Hivites, and Jebusites. 2They joined together to fight with one accord against Joshua and Israel.
3The inhabitants of Gibeon heard what Joshua had done to Jericho and Ai, 4and they too acted shrewdly. They went out posing as envoys, taking worn-out sacks for their donkeys and old wineskins that had split and been tied up. 5They wore worn-out, patched sandals on their feet and worn-out clothes. All the bread they had with them for the journey was dry and crumbled.
6They went to Joshua at the camp at Gilgal and said to him and the men of Israel, “We have come from a distant land. Now make a covenant with us.” 7The men of Israel said to the Hivites, “Perhaps you live right here among us. How then can we make a covenant with you?” 8They said to Joshua, “We are your servants.” Joshua asked them, “Who are you, and where do you come from?”
9They told him, “Your servants have come from a very distant land because of the name of the LORD your God. We have heard of his fame and all he did in Egypt, 10and all he did to the two kings of the Amorites across the Jordan: Sihon king of Heshbon and Og king of Bashan, who was at Ashtaroth. 11Our elders and all the inhabitants of our land told us, ‘Take provisions with you for the journey, go to meet them, and tell them, “We are your servants. Now make a covenant with us.”’ 12This is our bread. It was warm when we took it from our houses for the journey on the day we set out to come to you. But look at it now: dry and crumbled. 13These wineskins were new when we filled them, and look, they have split. These clothes and sandals of ours are worn out from the very long journey.”
14The men took some of their provisions, but they did not ask for the LORD’s counsel. 15Joshua 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.
16Three days after they had made the covenant, they heard that the people were their neighbors and lived among them. 17The Israelites set out and came to their cities on the third day. Their cities were Gibeon, Chephirah, Beeroth, and Kiriath-jearim. 18The Israelites did not strike them, because the leaders of the congregation had sworn to them by the LORD, the God of Israel. The whole congregation grumbled against the leaders.
19All the leaders told the whole congregation, “We have sworn to them by the LORD, the God of Israel, so now we cannot touch them. 20This is what we will do with them: let them live, so wrath won’t fall on us for the oath we swore to them.” 21The leaders said to them, “Let them live.” So they became woodcutters and water carriers for the whole congregation, as the leaders had told them.
22Joshua summoned the Gibeonites and asked, “Why did you deceive us by saying, ‘We live very far from you,’ when you live right here among us? 23Now you are cursed. There will never cease to be servants among you, woodcutters and water carriers for the house of my God.” 24They answered Joshua, “Your servants were told plainly that the LORD your God had commanded Moses his servant to give you the whole land and destroy every inhabitant of the land before you. We were very afraid for our lives because of you, so we did this. 25Now here we are in your hands. Do to us whatever seems good and right to you.”
26That is what Joshua did with them. He rescued them from the hands of the Israelites, and they did not kill them. 27That day Joshua made them woodcutters and water carriers for the congregation and for the altar of the LORD at the place he would choose, as they are to this day.