3 The people of Ammon and Moab can't join in worship with the Lord's people. That also applies to their children after them for all time to come.
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.
8 The great-grandchildren of the Edomites and Egyptians can join in worship with the Lord's people.
9 There will be times when you are at war with your enemies. And your soldiers will be in camp. Then keep away from anything that isn't pure and clean.