My heart goes out to you. I've been there as well. My kids are the reason I'm still here today. I kept telling myself they need their mother.
Besides getting support here, are you getting support from a psychologist or a doctor as well? If not, please do so. You're worth it!
There's also some Crisis Lines where you can talk to some people on the phone.
I like to think about things I'm grateful for. Anything from my kids to a beautiful day.
When I don't feel like going out and doing things, I force myself to do it. It's extremely hard because all I want to do is stay in bed and not talk to people but talking about what I'm feeling is what I need to do.
Don't give up.