מִזָּכָ֤ר עַד־נְקֵבָה֙ תְּשַׁלֵּ֔חוּ אֶל־מִח֥וּץ לַֽמַּחֲנֶ֖ה תְּשַׁלְּח֑וּם וְלֹ֤א יְטַמְּאוּ֙ אֶת־מַ֣חֲנֵיהֶ֔ם אֲשֶׁ֥ר אֲנִ֖י שֹׁכֵ֥ן בְּתוֹכָֽם׃
Renvoyez-les, hommes ou femmes, reléguez-les hors du camp, afin qu’ils ne souillent point ces enceintes au milieu desquelles je réside."
Deuteronomy
Have a designated place outside the camp, and you will go out there to excrete.
Deuteronomy
And a peg are you to have in addition to your weapons; when you need to sit to excrete dig with it, then use it again to cover your excrement.