The people of only one city in all the land had made a peace agreement with Israel—the Hivites living in Gibeon. All the other cities were defeated in war.