Some sin may have more serious consequences to others in this life, but to God all sin is disobedience and has the same penalty, that is death.
It's the same God whose Law is broken so whether it's what we perceive as a little or big sin by human standards, doesn't matter.
Adam and Eve only ate a piece of fruit and it was enough to condemn them and the human race for ever.
It's enough that the sin is disobedience to God, not what the disobedience is.
did you notice that he pointed out murder and adultery....probably more offensive to God than swearing when you hit your thumb with a hammer.