At the end of three days after they had made a covenant with them, they heard that they were their neighbors and that they lived among them. And the people of Israel set out and reached their cities on the third day. Now their cities were Gibeon, Chephirah, Beeroth, and Kiriath-jearim. But the people of Israel did not attack 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: let them live, lest wrath be upon us, because of the oath that we swore to them.” And the leaders said to them, “Let them live.” So they became cutters of wood and drawers of water for all the congregation, just 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 never be anything but servants, cutters 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. Whatever seems good and right in your sight to do to us, do it.” So he did this 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 cutters of wood and drawers of water for the congregation and for the altar of the LORD, to this day, in the place that he should choose.