Laws of Sanitation

9 "When you are encamped against your enemies, then you shall keep yourself from every evil thing. 10 "If any man among you becomes unclean because of a nocturnal emission, then he shall go outside the camp. He shall not come inside the camp, 11 but when evening comes, he shall bathe himself in water, and as the sun sets, he may come inside the camp. 12 "You shall have a place outside the camp, and you shall go out to it. 13 And you shall have a trowel with your tools, 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 deliver you and to give up your enemies before you, therefore your camp must be holy, so 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.