What does James 2:11 mean?
For the same God who said, 'Don't commit adultery,' also said, 'Don't murder.' If you don't commit adultery but you do murder, you're still a lawbreaker. James 2:11 - Modern Text Bible
(He uses examples to show that picking and choosing which commands to follow doesn't work—breaking any command makes you guilty.)