The purpose of life is not to be happy. It is to be useful, to be honorable, to be compassionate, to have it make some difference that you have lived and lived well.
The purpose of life is to live it, to taste experience to the utmost, to reach out eagerly and without fear for newer and richer experience.