Allāh only forbids you from those who fight you because of religion and expel you from your homes and aid in your expulsion - [forbids] that you make allies1 of them. And whoever makes allies of them, then it is those who are the wrongdoers.
Allah only prohibits you from those who fought you on account of your faith, expelled you from your homes and aided in your expulsion. He prohibits you from aligning yourselves with them. Those of you who align themselves with them, they are the ones who wrong themselves by bringing them to the point of destruction on account of their going against Allah’s instruction.