Deuteronomy 23:9-14 - Cleanliness Of The Camp
9 Guard yourself from every evil thing when your army goes to war against your enemies. 10 If there is among you any man who is unclean because of a nocturnal emission he must go outside the camp. He may not reenter the camp. 11 When evening approaches he should bathe himself with water. He may reenter the camp at sundown. 12 Set up a toilet area outside the camp and go out there. 13 Keep a spade among your tools. When you sit down outside use the spade to dig and cover up your excrement. 14 Jehovah your God walks in the middle of your camp. He is there to deliver you and to defeat your enemies before you. Therefore your camp must be holy. He must not see anything indecent among you or He will turn away from you.