This is an excerpt of the
The Believer’s Conditional Security wrote by Daniel. D. Corner: (does not mean I am agree with everything he says and writes)

Are some sins greater than other sins, according to Jesus?

Jn. 19:11 “Jesus answered, Thou couldest have no power at all against me, except it were given thee from above: therefore he that delivered me unto thee hath the greater sin”.

If there is greater sin then there must also be lesser sin.

Two verses which clearly corroborate Jesus’ statement about greater sin are Gen. 18:20 and Exo. 32:30.

Gen. 18:20 “And the LORD said, Because the cry of Sodom and Gomorrah is great, and because their sin is very grievous”;

Exo. 32:30 “And it came to pass on the morrow, that Moses said unto the people, Ye have sinned a great sin: and now I will go up unto the LORD; peradventure I shall make an atonement for your sin”.

This issue of greater (and lesser) sin is also clearly shown by Hophni and Phinehas, Eli’s wicked sons:

1 Sam 2:17 “Wherefore the sin of the young men was very great before the LORD: for men abhorred the offering of the LORD”.

1 Samuel 2:34
And this shall be a sign unto thee, that shall come upon thy two sons, on Hophni and Phinehas; in one day they shall die both of them.
1 Samuel 2:33-35 (in Context) 1 Samuel 2 (Whole Chapter)

Perhaps even more clear is what we find in Ezekiel chapter 8. Please note first there were great abominations, then greater abominations, then greater abominations than these.

Ezek. 8:6 He said furthermore unto me, Son of man, seest thou what they do? even the great abominations that the house of Israel committeth here, that I should go far off from my sanctuary? but turn thee yet again, and thou shalt see greater abominations.

Ezek. 8:13 He said also unto me, Turn thee yet again, and thou shalt see greater abominations that they do.

Ezek. 8:15 Then said he unto me, Hast thou seen this, O son of man? turn thee yet again, and thou shalt see greater abominations than these.

There is also great evil (Neh. 13:27) and great transgression (Psa. 19:13)

Also, in Moses’ day, when capital punishment was enforced,
there was sin deserving death (Deut. 21:22) and sin that was not deserving of death. (Deut. 22:26)

Morever, one type of sin is eternal (Mk. 3:29), while others are not. Another type of sin (sexual immorality) is against our own bodies, while other sins are outside our bodies. (1 Cor. 6:18) 1 Jn. 5:16 adds to this by declaring that there is a sin that does not lead to death, while there is a sin that leads to death.

Furthermore, certain types of sin like worry (Phil. 4:6), unthankfulness (Lk. 17: 11-18; Col. 2:7; 3:15) and not being completely humble and gentle (Eph. 4:2)
are not cited in any list of sins that will exclude one from the kingdom, like sexual immorality, drunkenness, greed or lying are. (1 Cor. 6: 9,10; Rev. 21:8; 22:15)

Besides all of that, there are willful sins (Psa. 19:13), unintentional sin (Num. 15:22) defiant sin (Num. 15:30) detestable sin (2 Ki. 21:11) and deliberate sin. (Heb. 10:26)

From all of this it should be apparent that there are not only different degrees of sin, but sin can also be classified in different ways, such as unintentional, deliberate, etc., as just shown.