 Now when Adoni-Zedek, king of Jerusalem, heard that Joshua had captured Ai and had completely destroyed it just as he had done to Jericho and its king, he also heard how the people of Gibeon had made peace with Israel and were living among them. 