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 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.
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.
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.
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.
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.