Deuteronomy 23:2-13

2 Those born of an illicit union shall not be admitted to the assembly of the Lord. Even to the tenth generation, none of their descendants shall be admitted to the assembly of the Lord.
3 No Ammonite or Moabite shall be admitted to the assembly of the Lord. Even to the tenth generation, none of their descendants shall be admitted to the assembly of the Lord,
4 because they did not meet you with food and water on your journey out of Egypt, and because they hired against you Balaam son of Beor, from Pethor of Mesopotamia, to curse you
5 (Yet the Lord your God refused to heed Balaam; the Lord your God turned the curse into a blessing for you, because the Lord your God loved you.)
6 You shall never promote their welfare or their prosperity as long as you live.
7 You shall not abhor any of the Edomites, for they are your kin. You shall not abhor any of the Egyptians, because you were an alien residing in their land.
8 The children of the third generation that are born to them may be admitted to the assembly of the Lord.
9 When you are encamped against your enemies you shall guard against any impropriety.
10 If one of you becomes unclean because of a nocturnal emission, then he shall go outside the camp; he must not come within the camp.
11 When evening comes, he shall wash himself with water, and when the sun has set, he may come back into the camp.
12 You shall have a designated area outside the camp to which you shall go.
13 With your utensils you shall have a trowel; when you relieve yourself outside, you shall dig a hole with it and then cover up your excrement.

Deuteronomy 23:2-13 Meaning and Commentary

INTRODUCTION TO DEUTERONOMY 23

Orders are here given to restrain certain persons from entering into the congregation of the Lord, De 23:1-8, and to take care that there be no unclean person in the camp, or any indecent thing done in it, De 23:9-14, to protect fugitive servants, and not deliver them up to their masters, De 23:15,16 not to suffer a filthy person to be among them, or any filthy thing to be brought into the house of God for a vow, De 23:17,18, then follow some laws against usury, and for the payment of vows, De 23:19-23, and the chapter is concluded with some directions how to behave in a neighbour's vineyard, or standing corn, De 23:24,25.

New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.