"What does man gain from all his labor at which he toils under the sun? Generations come and generations go, but the earth remains forever. The sun rises and the sun sets, and hurries back to where it rises. The wind blows to the south and turns to the north; round and round it goes, ever returning on its course. All streams flow into the sea, yet the sea is never full. To the place the streams come from, there they return again. All things are wearisome, more than one can say. The eye never has enough of seeing, nor the ear its fill of hearing. What has been will be again, what has been done will be done again; there is nothing new under the sun. Is there anything of which one can say, "Look! This is something new"? It was here already, long ago; it was here before our time." Ecclesiastes 1:3-10
Again, these are the words of Solomon as it appears in the book of Ecclesiastes. Truly, this portion of scripture can be mistakenly interpreted to mean that there is no purpose for living and that everything under the sun is pointless. Many argue that this scripture sounds like someone who was searching for the meaning of life and failed to find it and consequently became hopeless. In fact, Solomon was searching for meaning of life and he concluded that all things are wearisome and that there is nothing new under the sun.
In chapter one of Ecclesiastes, Solomon is saying that everything is meaningless and its like chasing wind. Think about it, can you chase the wind and eventually grab it? Obviously not. In comparison, it would be meaningless to chase after material possession, wealth, and pleasure because these thing are temporary. "Generations come and generations go, but the earth remains forever." (1:4) Solomon is saying that we live then we die, therefore our existence on the earth is only but for a moment.
In the book of Matthew chapter six verse twenty, the Lord say, "But store up for yourselves treasures in heaven, where moth and rust do not destroy, and where thieves do not break in and steal." This scripture parallels with what Solomon is saying in Ecclesiastes. Solomon is not saying that life is meaningless however, life without God is meaningless because one will store up treasures on earth but it is all vanity because we will all eventually die and leave our possessions behind. Nevertheless, Matthew gave the secret away, he too believes that reacquiring material possessions on earth is vanity because they can be destroyed by moth and rust. So why chase after things that have no worth or value after we die?