You may want to go to a church or fellowship
When I have time, I'll write about religion. Most people have fundamental misunderstanding about religion. It's all about hypothesis of life, especially the purpose of life.
If you believe that the purpose of you life is to do your best, regardless of the outcome, you are already assured of your value.