James 2:10
It is like this. One of God’s laws is, “Don’t sleep with anyone that is not your wife or your husband, and do what married people do together.” And another law is, “Don’t kill anybody dead.” Suppose you didn’t sleep with the wrong person, but you did kill somebody dead, you are guilty anyway, because you didn’t follow all of God’s laws.