Deuteronomy 23:1
No man with crushed or severed genitals may enter the assembly of the LORD.
Berean Standard Bible
He that is wounded in the stones, or hath his privy member cut off, shall not enter into the congregation of the LORD.
He who is emasculated by crushing or cutting shall not enter into the LORD’s assembly.