Deuteronomy 23:7 in the King James Version
Thou shalt not abhor an Edomite; for he is thy brother: thou shalt not abhor an Egyptian; because thou wast a stranger in his land.
Context
6 You shall not seek their peace nor their prosperity all your days forever.
7 You shall not abhor an Edomite, for he is your brother. You shall not abhor an Egyptian, because you lived as a foreigner in his land.
8 The children of the third generation who are born to them may enter into the LORD’s assembly.