Right, living decently according to God's will for how we should conduct ourselves is a sign of grace, not a requirement for salvation. Kind David was beloved of God because of his faith, yet he was a murderer. No one doubts he was saved by faith. Were it good works that saved, he'd have been in deep do do.