101 Adoni-zedek, king of Jerusalem, heard that Joshua had captured and completely destroyed Ai and killed its king, just as he had destroyed the town of Jericho and killed its king. He also learned that the Gibeonites had made peace with Israel and were now their allies.
Matthew Henry's Commentary on Joshua 10:1
Commentary on Joshua 10:1-6
(Read Joshua 10:1-6)
When sinners leave the service of Satan and the friendship of the world, that they make peace with God and join Israel, they must not marvel if the world hate them, if their former friends become foes. By such methods Satan discourages many who are convinced of their danger, and almost persuaded to be Christians, but fear the cross. These things should quicken us to apply to God for protection, help, and deliverance.