The seven deadly sins are not actually sins per se. The belief is that if left unchecked will lead to mortal sin(going to hell). Also, injury to ones self is one of the three 'reasons' to avoid sin(the other two being hurting others and hurting relationship with god).