We love God by loving others, as commanded. Our love lived out, excludes a life of sin! Good works aren't necessary for salvation, they are an outward sign of one who is already saved!