"You shall have a designated place outside the camp"Deuteronomy 23:13.

When going out to war, we are commanded to designate a place outside the army encampment where the soldiers can relieve themselves; so that they do not relieve themselves wherever they wish or between the tents, as is the practice amongst the nations.