Al-Ma'idah 5:81
وَلَوْ كَانُوا۟ يُؤْمِنُونَ بِٱللَّهِ وَٱلنَّبِىِّ وَمَآ أُنزِلَ إِلَيْهِ مَا ٱتَّخَذُوهُمْ أَوْلِيَآءَ وَلَـٰكِنَّ كَثِيرًا مِّنْهُمْ فَـٰسِقُونَ
Walaw kanoo yu/minoona billahiwannabiyyi wama onzila ilayhi ma ittakhathoohumawliyaa walakinna katheeran minhum fasiqoon
And if they had believed in Allāh and the Prophet and in what was revealed to him, they would not have taken them as allies; but many of them are defiantly disobedient.
If they believed in Allah, in the prophet, and in what had been sent down to him, they would have not taken them (the pagans) for friends, but many of them are sinners.