Deuteronomy 23:1-3

DouayRheims(i) 1 An eunuch, whose testicles are broken or cut away, or yard cut off, shall not enter into the church of the Lord. 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. 3 The Ammonite and the Moabite, even after the tenth generation shall not enter into the church of the Lord for ever: