Deuteronomy 23:12-13
23:12 You are to have a place outside the camp to serve as a latrine.
23:13 You must have a spade among your other equipment and when you relieve yourself outside you must dig a hole with the spade and then turn and cover your excrement.