And Joshua made peace with them, and he cut a covenant with them to let them live, and the rulers of the congregation swore to them.