Ecclesiastes is a book that records Solomon’s search for happiness. He sought happiness in many places apart from God but he could not find happiness anywhere else. True happiness can only be found in loving God and living in obedience to His Word.
This book teaches us the vanity of trying to work out the meaning of life for ourselves. It also teaches us how fruitless it is to search for happiness in worldly things. Solomon had power and wealth like the world had never seen yet he was unable to find happiness by any worldly means.