Happiness and misery are products of the mind and to be able to enjoy life one should cultivate and pursue right resolutions. How this can be done is explained in this book.
I do not want to get material life. I do not want sense-life but something higher. That is renunciation. Then, by the power of meditation, undo the mischief that has been done.
-Swami Vivekananda