Tanach · Rishonim on Tanach · Rashi · Torah

Rashi on Deuteronomy 23:8/רש"י על דברים כ״ג:ח׳

אלא תתעב אדמי. לְגַמְרֵי, וְאַעַ"פִּ שֶׁרָאוּי לְךָ לְתַעֲבוֹ שֶׁיָּצָא בַּחֶרֶב לִקְרָאתֶךָ:
1לא תתעב אדמי THOU SHALT NOT ABHOR AN EDOMITE utterly, although it would be proper for you to abhor him because he came out against thee with the sword (Numbers 20:18—20).
בלא תתעב מצרי. מִכֹּל וָכֹל, אַף עַל פִּי שֶׁזָּרְקוּ זְכוּרֵיכֶם לַיְאוֹר. מַה טַּעַם? שֶׁהָיוּ לָכֶם אַכְסַנְיָא בִּשְׁעַת הַדְּחָק. לְפִיכָךְ —
2לא תתעב מצרי THOU SHALT NOT ABHOR AN EGYPTIAN all in all (utterly), although they cast your male children into the river. And what is the reason that you should not abhor him utterly? Because they were your hosts in time of need (during Joseph’s reign when the neighbouring countries suffered from famine); therefore although they sinned against you do not utterly abhor him, but —