Deuteronomy 23:7-8 RSVA

7 "You shall not abhor an E'domite, for he is your brother; you shall not abhor an Egyptian, because you were a sojourner in his land.
8 The children of the third generation that are born to them may enter the assembly of the LORD.