Joshua 9:20-27 NRS

20 This is what we will do to them: We will let them live, so that wrath may not come upon us, because of the oath that we swore to them."
21 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 decided concerning them.
22 Joshua summoned them, and said to them, "Why did you deceive us, saying, "We are very far from you,' while in fact you are living among us?
23 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."
24 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 before you; so we were in great fear for our lives because of you, and did this thing.
25 And now we are in your hand: do as it seems good and right in your sight to do to us."
26 This is what he did for them: he saved them from the Israelites; and they did not kill them.
27 But on that day Joshua made them 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 that he should choose.