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?
You are now under a curse: You will never be released from service as woodcutters and water carriers for the house of my God.”
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.
We are now in your hands. Do to us whatever seems good and right to you.”
So Joshua saved them from the Israelites, and they did not kill them.
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.