Deuteronomy 23:7

New American Standard Bible (NASB)
“You shall not detest an Edomite, for he is your brother; you shall not detest an Egyptian, because you were an alien in his land.

Read Deuteronomy 23:7 in other translations