That's the #1 thing you can't do. Seclude oneself from the outside world, and ending your life.
And just as we may presume to think your struggle is sermountable when to you ti isn't,. it is also a presumption on your part that your life have no worth. That your life is not worth living.
Why, because you don't know what your future holds.
I believe God has a futire for you; and Satan wants to do a anything he can to stop you from meeting it.
At any rate; you have worth because you have a brain, evidenced by your creativity, your ability to learn, and your willingness to accept correction. God or no God, that is tangible proof of your worth.
And it would be a shame, that you wouldn't use it to benefit others through it.