Deuteronomy 23:7 in the World English Bible
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.
Context
6 Thou shalt not seek their peace nor their prosperity all thy days for ever.
7 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.
8 The children that are begotten of them shall enter into the congregation of the LORD in their third generation.