Enjoy life with your wife, whom you love, all the days of this meaningless life that God has given you under the sun— all your meaningless days. For this is your lot in life and in your toilsome labor under the sun.
In this interesting book of the Bible, Solomon talks about the futility of life. Working hard, finding true love, all of it is meaningless (he goes on to say more about this in the next verses) because life is always difficult; you can't escape the hardships of life. This is an ancient reminder of the human condition.
Whenever someone says that the Bible is not relevant, I just remember Solomon trying everything to be happy and not finding true happiness. It's like that John Mayer song, Something's Missing, where he says he has money, friends, girls, and everything he could want, but something is still missing.
After searching for happiness in the world, Solomon came to a conclusion and wrote about in the 12th chapter of Ecclesiastes:
13 Now all has been heard;
here is the conclusion of the matter:
Fear God and keep his commandments,
for this is the whole duty of man.
14 For God will bring every deed into judgment,
including every hidden thing,
whether it is good or evil.