4 For they did not come to meet you with bread and water on your way when you came out of Egypt, and they hired Balaam son of Beor from Pethor in Aram Naharaim to pronounce a curse on you.
5 However, the Lord your God would not listen to Balaam but turned the curse into a blessing for you, because the Lord your God loves you.
6 Do not seek a treaty of friendship with them as long as you live.
7 Do not despise an Edomite, for the Edomites are related to you. Do not despise an Egyptian, because you resided as foreigners in their country.
8 The third generation of children born to them may enter the assembly of the Lord.
9 When you are encamped against your enemies, keep away from everything impure.
10 If one of your men is unclean because of a nocturnal emission, he is to go outside the camp and stay there.