Deuteronomy 23:7; Deuteronomy 26:6

7 "You shall not detest an Edomite, for he is your brother; you shall not detest an Egyptian, because you were an alien in his land.
6 'And the Egyptians treated us harshly and afflicted us, and imposed hard labor on us.