Deuteronomy 23:1

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