Deuteronomy 23:7

7 Don't detest Edomites, because they are your relatives. Don't detest Egyptians because you were immigrants in their land.