Deuteronomy 23:2

English Standard Version

2 “No one born of a forbidden union may enter the assembly of the Lord. Even to the tenth generation, none of his descendants may enter the assembly of the Lord. (Zec 9:6)

New International Version

2 No-one born of a forbidden marriage[1] nor any of their descendants may enter the assembly of the Lord, not even in the tenth generation.

New International Reader’s Version

2 No one born to an unmarried woman can join in worship with the LORD’s people. That also applies to the person’s children for all time to come.

King James Version

2 A bastard shall not enter into the congregation of the LORD; even to his tenth generation shall he not enter into the congregation of the LORD.