Jas 2:10 For whosoever shall keep the whole law, and yet offend in one point, he is guilty of all.
Jas 2:11 For he that said, Do not commit adultery, said also, Do not kill. Now if thou commit no adultery, yet if thou kill, thou art become a transgressor of the law.
1Jn 5:17 All unrighteousness is sin.
1Co 5:6 Your glorying is not good. Know ye not that a little leaven leaveneth the whole lump?
What it means is breaking the law is breaking the law, and even one sin can condemn you for you broke the law.
It does not matter if you stole a piece of bubblegum, or fornicated with not your spouse, you are still guilty of breaking the law.
If you break the law whether to a low degree, or a high degree, you are still guilty of breaking the law.
It is about breaking the law not the sin that we do to break that law, for if we sin then we are guilty of all, for we broke the law, and the law will condemn a person whether they break one law, or all the laws.
We are guilty of breaking the law not the count of the sins that we did to break the law, or actually breaking all the laws.