and Joshua makes peace with them, and makes a covenant with them, to keep them alive; and the princes of the congregation swear to them.