Suicidal thoughts ?

I just want to know if this is normal . I often think of killing myself, not so much as to how I’d do it , just in a way where I think “what would it be like and would it be better “ but then I always think about my family and friends

Does anyone else think this sometimes? More like woukd anyone really mind than I’m gonna do it