You are of value. If you don't think you are, then that's just your depression talking!
Are you seeing a psychiatrist or a therapist? You need someone to give you some professional support, along with our giving you support.
I'm so sorry you're hurting. You do deserve to feel better. Okay?