Joshua 9:22-27 New International Version - UK (NIVUK)
22 Then Joshua summoned the Gibeonites and said, ‘Why did you deceive us by saying, “We live a long way from you,” while actually you live near us? 23 You are now under a curse: you will never be released from service as woodcutters and water-carriers for the house of my God.’
24 They answered Joshua, ‘Your servants were clearly told how the Lord your God had commanded his servant Moses to give you the whole land and to wipe out all its inhabitants from before you. So we feared for our lives because of you, and that is why we did this. 25 We are now in your hands. Do to us whatever seems good and right to you.’
26 So Joshua saved them from the Israelites, and they did not kill them. 27 That day he made the Gibeonites woodcutters and water-carriers for the assembly, to provide for the needs of the altar of the Lord at the place the Lord would choose. And that is what they are to this day.