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.
Desire, want, is the father of all misery. Desires are bound by the laws of success and failure. Desires must bring misery. The great secret of true success, of true happiness, is this: the person who asks for no return, the perfectly unselfish person, is the most successful.
-Swami Vivekananda