4. The Ammonites and Moabites didn't come to meet you with food and water on your way out of Egypt. They even hired Balaam from Pethor in Aram Naharaim to call down a curse on you. Balaam was the son of Beor.
5. The Lord your God wouldn't listen to Balaam. Instead, he turned the curse into a blessing for you. He did it because he loves you.
6. So don't make a peace treaty with the Ammonites and Moabites as long as you live.
7. Don't hate the people of Edom. They are your relatives. Don't hate the people of Egypt. After all, you lived as outsiders in their country.