No one, especially not a parent, should say something like that to their kid. You're not worthless; you're a precious human being that should never be squandered by anyone else.
If you ever feel suicidal and need to talk, message me. Or if you just want to talk to someone, I won't turn my back on you.
Hang in there. You'll always have a friend in me.