No man whose sex organs have been crushed or cut can join in worship with the LORD's people.
References for Deuteronomy 23:1
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.
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.
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
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.
So don't make a peace treaty with the Ammonites and Moabites as long as you live.
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.
The great-grandchildren of the Edomites and Egyptians can join in worship with the LORD's people.
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.
References for Deuteronomy 23:9
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.
But as evening approaches, he must wash himself. When the sun goes down, he can return to the camp.
Choose a place outside the camp where you can go to the toilet.
Keep a shovel among your tools. When you go to the toilet, dig a hole. Then cover up your waste.
The LORD your God walks around in your camp. He's there to keep you safe. He's also there to hand your enemies over to you. So your camp must be holy. Then he won't see anything among you that is shameful. He won't turn away from you
If a slave comes to you for safety, don't hand him over to his master.
References for Deuteronomy 23:15
Let him live among you anywhere he wants to. Let him live in any town he chooses. Don't crush him.
A man or woman in Israel must not become a temple prostitute.
The LORD your God hates the money that men and women get for being prostitutes. So don't take that money into the house of the LORD to pay what you promised to give.
Don't charge your own people any interest. Don't charge them when they borrow money, food or anything else
You can charge interest to people from another country. But don't charge your own people. Then the LORD your God will bless you in everything you do. He will bless you in the land you are entering to take as your own.
Don't put off giving to the LORD your God everything you promise him. He will certainly require it from you. And you will be guilty of committing a sin
But if you don't make a promise, you won't be guilty.
Make sure you do what you promised to do. With your own mouth you made the promise to the LORD your God. No one forced you to do it.
When you enter your neighbor's vineyard, you can eat all of the grapes you want. But don't put any of them in your basket.
When you enter your neighbor's field, you can pick heads of grain. But don't cut down his standing grain.