When the people who lived in Gibeon city heard that Joshua’s army had defeated the people of Jericho and Ai,