Deuteronomy 23:7

You shall not abhor anyone from Idumea, for he is your brother, nor the Egyptian, for you were a new arrival in his land

Other versions

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.

English Standard Version

"You shall not abhor an Edomite, for he is your brother. You shall not abhor an Egyptian, because you were a sojourner in his land.

New International Version

Do not abhor an Edomite, for he is your brother. Do not abhor an Egyptian, because you lived as an alien in his country.