There was not a city that made peace with Bnei-Yisrael except the Hivites who inhabited Gibeon. All the rest they took in battle.