Deuteronomy 23:8-12 New American Standard Bible (NASB)

8. The sons of the third generation who are born to them may enter the assembly of the Lord.

9. "When you go out as an army against your enemies, you shall keep yourself from every evil thing.

10. "If there is among you any man who is unclean because of a nocturnal emission, then he must go outside the camp; he may not reenter the camp.

11. But it shall be when evening approaches, he shall bathe himself with water, and at sundown he may reenter the camp.

12. "You shall also have a place outside the camp and go out there,

Deuteronomy 23