So Joshua agreed to make a peace agreement with the men from Gibeon to not kill them. All the Israeli leaders vowed to do what Joshua said in the agreement. Then the men from Gibeon returned home.