But the people of Gibeon, having heard what Joshua had done to Jericho and Ai,