Deuteronomy 23:1

AKJV(i) 1 He that is wounded in the stones, or has his privy member cut off, shall not enter into the congregation of the LORD.