Deuteronomy 23

1 He whose testicles are crushed or whose penis is cut off, shall not enter into the assembly of the Lord.
2 A person born from an illicit union shall not enter into the assembly of the Lord; even to the tenth generation shall none of his enter into the assembly of the Lord.
3 An Ammonite or a Moabite shall not enter into the assembly of the Lord; even to the tenth generation shall no one belonging to them enter into the assembly of the Lord forever:
4 because they didn't meet you with bread and with water in the way, when you came forth out of Egypt, and because they hired Balaam the son of Beor from Pethor of Mesopotamia against you, to curse you.
5 Nevertheless the Lord your God wouldn't listen to Balaam; but the Lord your God turned the curse into a blessing to you, because the Lord your God loved 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 lived as a foreigner in his land.
8 The children of the third generation who are born to them shall enter into the assembly of the Lord.
9 When you go forth to war against your enemies, then you shall keep yourself from anything unclean.
10 If there is any man among you, who is not clean from a nocturnal emission, then shall he go abroad out of the camp, he shall not come into the camp:
11 but it shall be, when evening comes on, he shall bathe himself in water; and when the sun is down, he shall come into the camp.
12 You shall have a place also outside of the camp where you can go to relieve yourself.
13 and you shall have a shovel among your weapons; and it shall be, when you sit down abroad, you shall dig with it, and shall turn back and cover your excrement:
14 for the Lord your God walks in the midst of your camp, to deliver you, and to give up your enemies before you; therefore shall your camp be holy, that he may not see an unclean thing in you, and turn away from you.
15 You shall not deliver to his master a servant who is escaped from his master to you:
16 he shall dwell with you, among you, in the place which he shall choose within one of your gates, where it pleases him best: you shall not oppress him.
17 There shall be no prostitute of the daughters of Israel, neither shall there be a sodomite of the sons of Israel.
18 You shall not bring the hire of a prostitute, or the wages of a male prostitute, into the house of the Lord your God for any vow: for even both these are an abomination to the Lord your God.
19 You shall not lend on interest to your brother; interest of money, interest of food, interest of anything that is lent on interest:
20 to a foreigner you may lend on interest; but to your brother you shall not lend on interest, that the Lord your God may bless you in all that you put your hand to, in the land where you go in to possess it.
21 When you shall vow a vow to the Lord your God, you shall not be slack to pay it: for the Lord your God will surely require it of you; and it would be sin in you.
22 But if you shall forbear to vow, it shall be no sin in you.
23 That which is gone out of your lips you shall observe and do; according as you have vowed to the Lord your God, a freewill offering, which you have promised with your mouth.
24 When you come into your neighbor's vineyard, then you may eat of grapes your fill at your own pleasure; but you shall not put any in your vessel.
25 When you come into your neighbor's standing grain, then you may pluck the ears with your hand; but you shall not move a sickle to your neighbor's standing grain.