Read this passage and open each verse for the full verse feed and commentary tools.
Those Excluded from the Congregation
9“When the army goes out against your enemies, then keep yourself from every wicked thing. 10If 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. 11But 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; 13and 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. 14For 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.
Miscellaneous Laws
Deuteronomy 23:9-14 (NKJV)