Deuteronomy 23:12

10 If any man among you becomes unclean because of a nocturnal emission, he must leave the camp and stay outside.

11 When evening approaches, he must wash with water, and when the sun sets he may return to the camp.

You must have a place outside the camp to go and relieve yourself.

13 And you must have a digging tool in your equipment so that when you relieve yourself you can dig a hole and cover up your excrement.

14 For the LORD your God walks throughout your camp to protect you and deliver your enemies to you. Your camp must be holy, lest He see anything unclean among you and turn away from you.

This was said to Israel at a particular time, so it is wise to read it together with the surrounding text. Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
You must have a place outside the camp to go and relieve yourself.
KJV
Thou shalt have a place also without the camp, whither thou shalt go forth abroad:
WEB
You shall have a place also outside of the camp where you go relieve yourself.
ASV
Thou shalt have a place also without the camp, whither thou shalt go forth abroad:
DARBY
Thou shalt have a place also outside the camp, and shalt go forth thither.
BLB
And a place shall be for you outside of the camp, and you may go there outside.
ÅB
Du skal ha et sted utenfor leiren som du skal gå ut til.
OTB
Sett av et sted utenfor leiren for personlige behov.
B1930
Du skal ha et sted utenfor leiren som du skal gå ut til.

Study notes (Tyndale)

Original text and word study