ספר המדות Knowledge of God / Part I · כב
Sefer HaMiddot 548
כב. מִי שֶׁיִּשְׁמר אֶת עַצְמוֹ מִבִּשּׁוּלֵי עַכּוּ"ם וּמִנֶּסֶךְ, זוֹכֶה לְחָכְמָה וּמֵבִין בְּכָל סֵפֶר.
22. One who guards himself from food cooked by a non-Jew and wine impurified by a non-Jew, merits wisdom, and understands every book he studies.