Please seek out help if you have suicidal thoughts. My general feeling and what I always tell myself is that I'm a node in a massive network and if I was to take such an action the ripple effect would be huge. I can't let my family, friends, loved ones, even the people I post to here feel deep pain from me taking an action that ultimately serves no positive purpose. Thinking this way means I feel a responsibility to live, not just live but to live for others.
I hope you don't mind me mentioning, but I've created a video about dealing with depression on my channel, Happy Facts Lifestyle. If you get a chance, I'd appreciate it if you could take a look, I really hope it helps people who are struggling.