Deuteronomy 23:7-8 KJV

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.