Later, Adonizedek, the king of Jerusalem, heard that Joshua’s army had captured Ai town and had destroyed everything in the town. He heard that they had done to the people of Ai and to their king the same thing that they had done to the people of Jericho and their king. He also heard that the people of Gibeon city had made a peace treaty with the Israeli people, and that the people of Gibeon were now living near the Israelis and being protected by them.