ספר המדות Improper Thoughts / Part II · כא
Sefer HaMiddot 813
כא. מִי שֶׁבָּא לוֹ הִרְהוּרֵי זְנוּת עִם בַּת אֵל נֵכָר, בְּיָדוּעַ שֶׁיִּהְיֶה לוֹ אֵיזֶהוּ נְפִילָה אוֹ חוֹלַאַת יָבוֹא עַל אִשְׁתּוֹ וּבָנָיו.
21. One who has thoughts of having relations with a gentile girl, it is certain that he will experience some downfall, or his wife and children will get sick.