Translation for 5:51

۞ يَٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُواْ لَا تَتَّخِذُواْ ٱلۡيَهُودَ وَٱلنَّصَٰرَىٰٓ أَوۡلِيَآءَۘ بَعۡضُهُمۡ أَوۡلِيَآءُ بَعۡضٖۚ وَمَن يَتَوَلَّهُم مِّنكُمۡ فَإِنَّهُۥ مِنۡهُمۡۗ إِنَّ ٱللَّهَ لَا يَهۡدِي ٱلۡقَوۡمَ ٱلظَّٰلِمِينَ ٥١
O believers! Take neither Jews nor Christians as guardians—they are guardians of each other.1 Whoever does so will be counted as one of them. Surely Allah does not guide the wrongdoing people.

Foot notes

76611

 Wali means guardian, caretaker, protector, provider, ally, etc. The Prophet (ﷺ) for example says, “A woman should not get married without a wali.”—that is a guardian such as her father to represent her in the marriage and make sure she receives her full rights. The verse forbids Muslims from allying with the Jews and Christians (or anyone else) conspiring to persecute Muslims. On the other hand, as long as non-Muslims are not at war with Muslims or persecuting them, the Quran (60:8) commands Muslims to be kind and gracious to them.