Deuteronomy 23 New King James Version (NKJV)
Those Excluded from the Congregation
23 “He who is emasculated by crushing or mutilation shall not enter the assembly of the Lord.
2 “One of illegitimate birth shall not enter the assembly of the Lord; even to the tenth generation none of his descendants shall enter the assembly of the Lord.
3 “An Ammonite or Moabite shall not enter the assembly of the Lord; even to the tenth generation none of his descendants shall enter the assembly of the Lord forever, 4 because they did not meet you with bread and water on the road when you came out of Egypt, and because they hired against you Balaam the son of Beor from Pethor of [a]Mesopotamia, to curse you. 5 Nevertheless the Lord your God would not listen to Balaam, but the Lord your God turned the curse into a blessing for you, because the Lord your God loves you. 6 You shall not seek their peace nor their prosperity all your days forever.
7 “You shall not abhor an Edomite, for he is your brother. You shall not abhor an Egyptian, because you were an alien in his land. 8 The children of the third generation born to them may enter the assembly of the Lord.
Cleanliness of the Campsite
9 “When the army goes out against your enemies, then keep yourself from every wicked thing. 10 If there is any man among you who becomes unclean by some occurrence in the night, then he shall go outside the camp; he shall not come inside the camp. 11 But it shall be, when evening comes, that he shall wash with water; and when the sun sets, he may come into the camp.
12 “Also you shall have a place outside the camp, where you may go out; 13 and you shall have an implement among your equipment, and when you sit down outside, you shall dig with it and turn and cover your refuse. 14 For the Lord your God walks in the midst of your camp, to deliver you and give your enemies over to you; therefore your camp shall be holy, that He may see no unclean thing among you, and turn away from you.
15 “You shall not give back to his master the slave who has escaped from his master to you. 16 He may dwell with you in your midst, in the place which he chooses within one of your gates, where it [b]seems best to him; you shall not oppress him.
17 “There shall be no ritual [c]harlot of the daughters of Israel, or a perverted[d] one of the sons of Israel. 18 You shall not bring the wages of a harlot or the price of a dog to the house of the Lord your God for any vowed offering, for both of these are [e]an abomination to the Lord your God.
19 “You shall not charge interest to your brother—interest on money or food or anything that is lent out at interest. 20 To a foreigner you may charge interest, but to your brother you shall not charge interest, that the Lord your God may bless you in all to which you set your hand in the land which you are entering to possess.
21 “When you make a vow to the Lord your God, you shall not delay to pay it; for the Lord your God will surely require it of you, and it would be sin to you. 22 But if you abstain from vowing, it shall not be sin to you. 23 That which has gone from your lips you shall keep and perform, for you voluntarily vowed to the Lord your God what you have promised with your mouth.
24 “When you come into your neighbor’s vineyard, you may eat your fill of grapes at your pleasure, but you shall not put any in your container. 25 When you come into your neighbor’s standing grain, you may pluck the heads with your hand, but you shall not use a sickle on your neighbor’s standing grain.
Deuteronomy 23 New International Version (NIV)
Exclusion From the Assembly
23 [a]No one who has been emasculated by crushing or cutting may enter the assembly of the Lord.
2 No one born of a forbidden marriage[b] nor any of their descendants may enter the assembly of the Lord, not even in the tenth generation.
3 No Ammonite or Moabite or any of their descendants may enter the assembly of the Lord, not even in the tenth generation. 4 For they did not come to meet you with bread and water on your way when you came out of Egypt, and they hired Balaam son of Beor from Pethor in Aram Naharaim[c] to pronounce a curse on you. 5 However, the Lord your God would not listen to Balaam but turned the curse into a blessing for you, because the Lord your God loves you. 6 Do not seek a treaty of friendship with them as long as you live.
7 Do not despise an Edomite, for the Edomites are related to you. Do not despise an Egyptian, because you resided as foreigners in their country. 8 The third generation of children born to them may enter the assembly of the Lord.
Uncleanness in the Camp
9 When you are encamped against your enemies, keep away from everything impure. 10 If one of your men is unclean because of a nocturnal emission, he is to go outside the camp and stay there. 11 But as evening approaches he is to wash himself, and at sunset he may return to the camp.
12 Designate a place outside the camp where you can go to relieve yourself. 13 As part of your equipment have something to dig with, and when you relieve yourself, dig a hole and cover up your excrement. 14 For the Lord your God moves about in your camp to protect you and to deliver your enemies to you. Your camp must be holy, so that he will not see among you anything indecent and turn away from you.
15 If a slave has taken refuge with you, do not hand them over to their master. 16 Let them live among you wherever they like and in whatever town they choose. Do not oppress them.
17 No Israelite man or woman is to become a shrine prostitute. 18 You must not bring the earnings of a female prostitute or of a male prostitute[d] into the house of the Lord your God to pay any vow, because the Lord your God detests them both.
19 Do not charge a fellow Israelite interest, whether on money or food or anything else that may earn interest. 20 You may charge a foreigner interest, but not a fellow Israelite, so that the Lord your God may bless you in everything you put your hand to in the land you are entering to possess.
21 If you make a vow to the Lord your God, do not be slow to pay it, for the Lord your God will certainly demand it of you and you will be guilty of sin. 22 But if you refrain from making a vow, you will not be guilty. 23 Whatever your lips utter you must be sure to do, because you made your vow freely to the Lord your God with your own mouth.
24 If you enter your neighbor’s vineyard, you may eat all the grapes you want, but do not put any in your basket. 25 If you enter your neighbor’s grainfield, you may pick kernels with your hands, but you must not put a sickle to their standing grain.