Joshua 9:22-27
9:22 Joshua summoned the Gibeonites and said to them, “Why did you trick us by saying, ‘We live far away from you,’ when you really live nearby?
9:23 Now you are condemned to perpetual servitude as woodcutters and water carriers for the house of my God.”
9:24 They said to Joshua, “It was carefully reported to your subjects how the Lord your God commanded Moses his servant to assign you the whole land and to destroy all who live in the land from before you. Because of you we were terrified we would lose our lives, so we did this thing.
9:25 So now we are in your power. Do to us what you think is good and appropriate.
9:26 Joshua did as they said; he kept the Israelites from killing them
9:27 and that day made them woodcutters and water carriers for the community and for the altar of the Lord at the divinely chosen site. (They continue in that capacity to this very day.)