Now Adoni-zedek king of Jerusalem heard that Joshua had captured Ai and devoted it to destruction&#8212;doing to Ai and its king as he had done to Jericho and its king&#8212;and that the people of Gibeon had made peace with Israel and were living near them.