Deuteronomy 23:8-10 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.

Deuteronomy 23