Deuteronomy 23:7

NLT
New Living Translation

7“Do not detest the Edomites or the Egyptians, because the Edomites are your relatives and you lived as foreigners among the Egyptians.