1. No man whose sex organs have been crushed or cut can join in worship with the Lord's people.
2. No one who was born to a woman who wasn't married can join in worship with the Lord's people. That also applies to the person's children for all time to come.
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.
10. Suppose semen flows from the body of one of your soldiers during the night. Then that will make him "unclean." He must go outside the camp and stay there.
11. But as evening approaches, he must wash himself. When the sun goes down, he can return to the camp.