Laws of Sanitation

9 "When you go forth against your enemies and are in camp, then you shall keep yourself from every evil thing. 10 "If there is among you any man who is not clean by reason of what chances to him by night, then he shall go outside the camp, he shall not come within the camp; 11 but when evening comes on, he shall bathe himself in water, and when the sun is down, he may come within the camp. 12 "You shall have a place outside the camp and you shall go out to it; 13 and you shall have a stick with your weapons; and when you sit down outside, you shall dig a hole with it, and turn back and cover up your excrement. 14 Because the Lord your God walks in the midst of your camp, to save you and to give up your enemies before you, therefore your camp must be holy, that he may not see anything indecent among you, and turn away from you

Matthew Henry's Commentary on Deuteronomy 23:9-14

Commentary on Deuteronomy 23:9-14

(Read Deuteronomy 23:9-14)

The camp of the Lord must have nothing offensive in it. If there must be this care taken to preserve the body clean, much more should we be careful to keep the mind pure.