Do not marry unbelieving women (idolaters), until they believe: A slave woman who believes is better than an unbelieving woman, even though she allures you. Nor marry (your girls) to unbelievers until they believe: A man slave who believes is better than an unbeliever, even though he allures you. Unbelievers do (but) beckon you to the Fire. But Allah beckons by His Grace to the Garden (of bliss) and forgiveness, and makes His Signs clear to mankind: That they may celebrate His praise.
According to the Study Quran,
“Islamic Law allows for marriage with women among the People of the
Book, but not with idolaters, a permission given in 5:5, which states that the
chaste women of those who were given the Book before you are lawful to marry.
Some commentators believe that 5:5 partially abrogated the ruling in this present
verse so as to allow marriage between Muslim men and women from among the
People of the Book (R, Ṭ), but the question arises only if the People of the Book
were to be taken as a class of idolaters. Many maintain that the prohibition
against marrying idolaters was never directed against the people of the Book
(Q). In either case, the final legal ruling allows marriage with Jews and
Christians, though some jurists have also included in this category marriage with
Zoroastrians and, in India, with Hindus. A minority opinion held that in fact this
verse abrogates 5:5 and hence no marriage with a non-Muslim is allowed. And marry none to the idolaters is most often, but not always, understood as a command to not give any Muslim woman in marriage to a non-Muslim man.”
See also the post:
Nasr, Hossein (2015). Study Quran. http://www.islamicweblibrary.com/wp-content/uploads/2020/04/TheStudyQuran.pdf