The book of Ecclesiastes addresses the purpose of our lives on Earth and what to do to enjoy the time we are here. Although Solomon wrote the book, he failed to follow the wisdom God gave him. He and the other kings of Israel and Judah show us why having an undivided heart towards God is so important.