Life itself is a learning process, and you have to understand the meaning of life in order to know how to make yourself happy.
For example, you have to know that you are lucky to be able to have a healthy life, that you are able to see the sunshine every day, and that you are happy to be able to study and work, and you will be in a very good mood if you know this.