Deuteronomy 23:7
you shall not abhor an Edomite; for he your brother: you shall not abhor an Egyptian; because you wast a stranger in his land.
ā The Restored Word Bible
Context
5 Nevertheless the Yahuah your Elohim would not hearken unto Balaam; but the Yahuah your Elohim turned the curse into a blessing unto you, because the Yahuah your Elohim loved you.
6 you shall not seek their peace nor their prosperity all your days for ever.
7 you shall not abhor an Edomite; for he your brother: you shall not abhor an Egyptian; because you wast a stranger in his land.
8 The children that are begotten of them shall enter into the congregation of the Yahuah in their third generation.
9 When the host goeth forth against your enemies, then keep you from every wicked thing.