James 2:8-11 If you really fulfill the royal law according to the Scripture, You shall love your neighbor as yourself, you are doing well. But if you show partiality, you are committing sin and are convicted by the law as transgressors. For whoever keeps the whole law but fails in one point has become accountable for all of it. For he who said, Do not commit adultery, also said, Do not murder. If you do not commit adultery but do murder, you have become a transgressor of the law.
So it doesn't matter which sin you commit, law breaking is law breaking and carries the same penalty.
And here James lumps in partiality, which isn't even listed in the Ten Commandments, with murder and adultery.
It's still sin and anyone who commits it is still a law breaker.
The point isn't what laws are broken, how they are broken, or how much they are broken. It's THAT it was broken.
***********
THIS!