The Gibeonites tricked the Israelites into making a covenant with them (Joshua 9), sparing them the destruction that awaited the other people in Canaan.