And Joshua made peace with them, and made a covenant with them, to let them live; and the princes of the assembly swore unto them.