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.
The important thing is how much less you think of the body, of yourself as matter -- as dead, dull, insentient matter; how much more you think of yourself as shining immortal being. The more you think of yourself as spirit, the more eager you will be to be absolutely free from matter, body and senses. This is the intense desire to be free.
-Swami Vivekananda