Not all sin was treated the same under the Mosaic Law. Granted sin is sin and all sin is ultimately punishable by death but under the Law not all sin was given a death penalty.
Now the reason I bring this up is to illustrate the differences between violations of the Law.
In Leviticus Chapter 20 God pronounced a death penalty on sacrificing children to Molech, cursing your parents, adultery, incest, homosexuality, marrying a woman and her mother, bestiality, and being a medium.
Other sins that included a death penalty included blasphemy, idol worship, murder, and not being a virgin when married.
Like I said in the beginning not all transgressions were treated equal.
The Mosaic Law had restrictions on a variety of things including not eating pork or shellfish.
You weren’t allowed to bred a mix of animals, sow a mixture of seed, or wear a mixture of linen and wool; yet these transgressions did not carry a severe penalty.
So there are sins worthy of death and sins not worthy of death as an earthly punishment.
John addressed this to some degree.
If anyone sees his brother sinning a sin which does not lead to death, he will ask, and He will give him life for those who commit sin not leading to death. There is sin leading to death. I do not say that he should pray about that. All unrighteousness is sin, and there is sin not leading to death. 1 John 5:16-17
When discussing a sin like murder I think it’s a given that it is a major transgression and the harsh punishment is justified.
When you get into adultery, not being a virgin when married, or cursing your parents then people tend to believe you’re judging them or that those are lesser transgressions.
Today homosexuality has been given protection by the law, especially when it comes to same-sex marriage.
I’ve noticed that when confronted about the serious sin nature of that act, certain elements of the Mosaic Law are thrown back like the prohibition against eating pork, shrimp, or wearing “polyester”.
Those sins cannot be equated. Some were punishable by death and others were punishable by bringing an offering to redeem the uncleanness.
I remind you that in the sight of God sin is sin.
For whoever shall keep the whole law, and yet stumble in one point, he is guilty of all.
For He who said, “Do not commit adultery,” also said, “Do not murder.” Now if you do not commit adultery, but you do murder, you have become a transgressor of the law. James 2:10-11
So whether you commit adultery, murder, or eat a bacon sandwich – the Law provides a witness against everyone that each person is a sinner in need of salvation as prescribed by the Giver of the Law.
That salvation is only provided through Jesus.