“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.”
King James Version (KJV)
2:11 For it is the same authority which establishes every commandment.
Jas 2:11 He that said, etc. He that gave one command, gave the other commands. If you break any one of them, you sin against the Divine Lawgiver.