What does Deuteronomy 23:7 mean?
But don’t hate the Edomites, since they’re related to you. And don’t hate the Egyptians, because you lived as foreigners in their land. Deuteronomy 23:7 - Modern Text Bible
(Edomites and Egyptians are treated differently—Israel is told to show some respect because of family ties and shared history.)