Deuteronomy 23:2
A mamzer, that is to say, one born of a prostitute, shall not enter into the church of the Lord, until the tenth generation.A mamzer, that is to say, one born of a prostitute, shall not enter into the church of the Lord, until the tenth generation.