TT · Parshas Vaeschanan · Passuk 7:4
For he will turn your son away from following Me, and they will serve other gods; then the anger of Hashem will be kindled against you, and He will destroy you quickly.
Torah Temimah on the reason for the intermarriage ban: the danger of turning the next generation after other gods.
English: “For he will turn your son away from following Me” — the danger of leading the next generation after foreign worship.
Reason for the intermarriage prohibition.
The ban is grounded in the risk that the foreign spouse will draw the Israelite child away from Hashem; the verse states the consequence in terms of Divine anger and destruction.