Laws of Sanitation

9 When you go forth in camp against your enemies, then you shall keep yourselves from every evil thing. 10 If there is among you any man who is not clean by reason of that which happens him by night, then shall he go outside of the camp. He shall not come within 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 within the camp. 12 You shall have a place also outside of the camp, where you shall go forth abroad: 13 and you shall have a paddle among your weapons; and it shall be, when you sit down abroad, you shall dig therewith, and shall turn back and cover that which comes from you: 14 for Yahweh your God walks in the midst of your camp, to deliver you, and to give up your enemies before you; therefore your camp shall be holy, that he may not see an unclean thing in 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.