Do not despise an Edomite, for he is your brother. Do not despise an Egyptian, because you lived as a foreigner in his land.
Traditional numbering: 23:7
In context
6But Yahweh your God would not listen to Balaam; instead, Yahweh your God turned the curse into a blessing for you, because Yahweh your God loves you. 7Never, as long as you live, seek their peace or their prosperity. 8Do not despise an Edomite, for he is your brother. Do not despise an Egyptian, because you lived as a foreigner in his land. 9Their children, in the third generation, may enter the assembly of Yahweh. 10When you are encamped against your enemies, keep away from anything impure.