all sin drive to the death because sin separates people from God.
the sin have different consequences, when David counted the people, many people die, and when David murdered Uriah , the first son of Betsabe die.
if you confess the sin and you stop to do it, God give you life