Think about something to live for.
Also, think about how your loved ones will feel if you commit suicide.
Honestly, people that does that is selfish as hell.
If you had a friend that was dealing with a toxic person, you wouldn’t hesitate to say cut the person off, remove them from your life, etc.
What happens when someone thinks THEY ARE toxic the person? They remove themselves. It’s nothing selfish about, it’s essentially following advice people give everyday.