Joshua agreed to make peace with them. He agreed to let them live. The leaders of Israel agreed with this promise of Joshua.