We know that suffering becomes easier if we share it with others;
As the love of life is basically the fear of death; The motivation of people to socialize is not a direct motivation and it does not benefit from love for others, but the fear of loneliness.
Everything in the world has two aspects. The objective aspect, which is its reality, and the mental aspect, which is the creation of our mind. Happiness takes meaning in the mind. In fact, we can create happiness for ourselves with our minds, not by depending on external phenomena that may not be real at all.
Happiness is deep in our nature. A place where no one has access and is not affected by anything.