Deuteronomy 23:7-8 TMB

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 who are begotten of them shall enter into the congregation of the LORD in their third generation.