Joshua 9:24-27 CSB
The Gibeonites answered him, “It was clearly communicated to your servants 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. We greatly feared for our lives because of you, and that is why we did this. Now we are in your hands. Do to us whatever you think is right.” This is what Joshua did to them: he rescued them from the Israelites, and they did not kill them. On that day he made them woodcutters and water carriers — as they are today — for the community and for the LORD’s altar at the place he would choose.
CSB: Christian Standard Bible