Then Joshua made a treaty of peace with them to let them live, and the leaders of the assembly ratified it by oath.