And it happened, when Adoni-zedek king of Jerusalem heard that had captured Ai, and had destroyed it (as he had done to Jericho and to its king, so he had done to Ai and to her king) and that the inhabitants of Gibeon had made peace with Israel, and were in their midst,