لَّا يَتَّخِذِ ٱلْمُؤْمِنُونَ ٱلْكَـٰفِرِينَ أَوْلِيَآءَ مِن دُونِ ٱلْمُؤْمِنِينَ ۖ وَمَن يَفْعَلْ ذَٰلِكَ فَلَيْسَ مِنَ ٱللَّهِ فِى شَىْءٍ إِلَّآ أَن تَتَّقُوا۟ مِنْهُمْ تُقَىٰةً ۗ وَيُحَذِّرُكُمُ ٱللَّهُ نَفْسَهُۥ ۗ وَإِلَى ٱللَّهِ ٱلْمَصِيرُ
lā yattakhidhi l-mu'minūna l-kāfirīna awliyāa min dūni l-mu'minīna waman yafʿal dhālika falaysa mina l-lahi fī shayin illā an tattaqū min'hum tuqātan wayuḥadhirukumu l-lahu nafsahu wa-ilā l-lahi l-maṣīru
The believers should not make the disbelievers their allies rather than other believers- anyone who does such a thing will isolate himself completely from God- except when you need to protect yourselves from them. God warns you to beware of Him: the Final Return is to God.
Let not the believers take the disbelievers as Auliyâ (supporters, helpers) instead of the believers, and whoever does that will never be helped by Allâh in any way, except if you indeed fear a danger from them. And Allâh warns you against Himself (His punishment), and to Allâh is the final return.