Deu Deuteronomy, chapter Book of Deuteronomy, chapter 23
Persons Excluded from the Assembly
No one of illegitimate birth may enter the assembly of the Lord; none of his descendants, even to the tenth generation, may enter the assembly of the Lord. Jdg 11:1