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.
Joshua agreed for peace with them, formed a pact allowing them to live, and the leaders of the group promised this to them.