Tolstoy gave us a religious point of view on the start of his autobiography.
it did seem as it was a social doctrine to follow a religion. Some would say it has dependency with life, some would say these two discussions are too far away to be encountered.
Indeed, it has a critic upon theology. He delivered the questions upon which is right, or easier to say, what is right.
What is life, and how is life.
And yet, we have faith. A faith that brings us to continue and pursue the meaning of our existence. A will to be good person cause you have not been contaminated by the striking life events. Passion, cause you do believe that your surrounding will return to you in the same way. But there are culture and social term, that bring to a question if anything that you did or about to do, would be considered as a positive review.
Then, hiding yourselves would be the short-solution upon this confusion of an individual presence.
We have the desire to live, but again, without knowing what it is for. We just keep doing what we are told to do, that the society wanted us to be, without knowing exactly the point. Hence, it becomes meaningless.
I personally then did not come with such questions or answer but it is a good way to reflect to see other perspectives. The society was built upon religous path and yet the question about life is still hanging regardless how we put a halt on religion. Tolstoy also helped us to see other perspective of individual existence thru the eyes of the predecessors such as Shakyamuni, Schopenhaur, and Solomon.
Which then you will try to suit whose idea would be fitted with your situation.