The #1 worst sin is pride.
Pride is the #1 worst sin among the 7 deadly sins, and is often also referred to as the "root of all other sins".
Although, some different religious traditions also have varying ideas about what constitutes the worst sin.
And in some Christian contexts, blasphemy against the Holy Spirit, which is an unforgivable sin is also considered to be the most serious sin.
And some view sins like extreme neglect or child abuse as very and particularly heinous sins, regardless of how they are classified.
Traditionally though, pride or hubris is seen as the original sin and also the worst of the 7 deadly sins, with the belief that the sin of pride leads to all others.
In some certain Christian interpretations the "unforgivable sin" blasphemy against the Holy Spirit is considered the most serious sin because it's a rejection of God's forgiveness.
And some modern religious figures as well as authorities consider actions like child abuse or even extreme neglect to be especially grave, and so they classify these sins as mortal, or particularly serious sins.
Sexual sin is also one of the worst sins but not the #1.