Deuteronomy 23:7-8 NLT

7 “Do not detest the Edomites or the Egyptians, because the Edomites are your relatives and you lived as foreigners among the Egyptians.
8 The third generation of Edomites and Egyptians may enter the assembly of the .