Joshua 9:15 (KJV)

And Joshua made peace with them, and made a league with them, to let them live: and the princes of the congregation sware unto them.