Clarke's Bible Commentary - Deuteronomy 23:12
Verse 12. &c.] These directions may appear trifling to some, but they were essentially necessary to this people in their present circumstances. Decency and cleanliness promote health, and prevent many diseases.
John Gill's Bible Commentary
Ver. 12. Thou shalt have also a place without the camp , etc.] A place prepared, as the Targums of Onkelos and Jonathan, provided on purpose for the use hereafter suggested; so Ben Melech: whither thou shalt go forth abroad ; to do the necessities of nature, which they were to do without the camp, not in any place they thought fit and most convenient, but what was appointed for that purpose.
Matthew Henry Commentary
Verses 9-14 - The camp of the Lord must have nothing offensive in it. If there mus be this care taken to preserve the body clean, much more should we be careful to keep the mind pure.
Original Hebrew
ויד 3027 תהיה 1961 לך מחוץ 2351 למחנה 4264 ויצאת 3318 שׁמה 8033 חוץ׃ 2351