"No man whose [testicles] have been crushed or whose penis has been cut off may enter the LORD's assembly.
No one of illegitimate birth may enter the LORD's assembly; none of his descendants, even to the tenth generation, may enter the LORD's assembly.
No Ammonite or Moabite may enter the LORD's assembly; none of their descendants, even to the tenth generation, may ever enter the LORD's assembly.
This is because they did not meet you with food and water on the journey after you came out of Egypt, and because Balaam son of Beor from Pethor in Aram-naharaim was hired to curse you.
Yet the LORD your God would not listen to Balaam, but He turned the curse into a blessing for you because the LORD your God loves you.
Never seek peace or friendship with them as long as you live.
Do not despise an Edomite, because he is your brother. Do not despise an Egyptian, because you were a foreign resident in his land.
The children born to them in the third generation may enter the LORD's assembly.
"When you are encamped against your enemies, be careful to avoid anything offensive.
If there is a man among you who is unclean because of a bodily emission during the night, he must go outside the camp; he may not come anywhere inside the camp.
When evening approaches, he must wash with water, and when the sun sets he may come inside the camp.
You must have a place outside the camp and go there [to relieve yourself].
You must have a digging tool in your equipment; when you relieve yourself, dig a hole with it and cover up your excrement.
For the LORD your God walks throughout your camp to protect you and deliver your enemies to you; so your encampments must be holy. He must not see anything improper among you or He will turn away from you.
"Do not return a slave to his master when he has escaped from his master to you.
Let him live among you wherever he wants within your gates. Do not mistreat him.
"No Israelite woman is to be a cult prostitute, and no Israelite man is to be a cult prostitute.
Do not bring a female prostitute's wages or a male prostitute's earnings into the house of the LORD your God to fulfill any vow, because both are detestable to the LORD your God.
"Do not charge your brother interest on money, food, or anything that can earn interest.
You may charge a foreigner interest, but you must not charge your brother interest, so that the LORD your God may bless you in everything you do in the land you are entering to possess.
"If you make a vow to the LORD your God, do not be slow to keep it, because He will require it of you, and it will be counted against you as sin.
But if you refrain from making a vow, it will not be counted against you as sin.
Be careful to do whatever comes from your lips, because you have freely vowed what you promised to the LORD your God.
"When you enter your neighbor's vineyard, you may eat as many grapes as you want until you are full, but you must not put [any] in your container.
When you enter your neighbor's standing grain, you may pluck heads of grain with your hand, but you must not put a sickle to your neighbor's grain.