"The end of the matter; all has been heard. Fear God and keep his commandments, for this is the whole duty of man. For God will bring every deed into judgment, with every secret thing, whether good or evil." - Ecclesiastes 12:13–14
You are stopped for a traffic violation. You argue your case until you're blue in the face. When it's all over..You pay the ticket. You receive your new property tax bill with an unexpected increase. You write a letter and visit town hall to express you're profound displeasure. When all is said and done...You pay the bill. Somethings in life may not seem fair, but ... At the end of the day you just do the right thing.
Solomon enjoyed more wealth and wisdom than any other. But, over the years he sank into gross materialism and became so self absorbed that he lost sight of spiritual values. He saw all the inequities that exist "under the sun" and languished over the ultimate passage of life. But ultimately, he learned that his whole duty in life was to fear God and obey His Word... At the end of the day you just do the right thing.
Your life was full of hopes and dreams. Pleasures and opportunities were constantly knocking at your door. Over time you may have achieved success in all of the above or very little, only to feel empty. Have you finally come to a point of complete frustration? Just remember, after "all has been heard. Fear God and keep his commandments, for this is the whole duty of man"... At the end of the day just do the right thing.