He had great riches, and therefore could buy anything he wanted to buy. He also had great power, and therefore could do anything he wanted to. Besides this, he was the wisest man in all the earth. He knew how to test things to see which was best. Solomon tried many different things.
Many people try to find happiness today by going to school and ever continuing their learning.
Education is good if it is used right. Solomon also tried to find the meaning of life in pleasure. Many people do this today. They are only interested in fun, games, parties, drinking, dancing and such things. It is good for one to rest his body.