Self-destructive behavior
Self-destructive behavior is any behavior that is harmful or potentially harmful towards the person who engages in the behavior. Self-destructive behaviors are considered to be on a continuum, with one extreme end of the scale being suicide.
Source: Wikipedia — Self-destructive behavior (CC BY-SA 4.0)