There is no end to all the people—to all who were before him. Also those who will come later will not rejoice in him. Surely this too is meaningless and striving after the wind.
So the king arose and sat in the gate. When they told all the troops saying, “See, the king is sitting at the gate,” all the troops presented themselves before the king. Meanwhile, Israel had fled each man to his tent.
Yet when I considered all that my hands had done and the toil I had expended to accomplish it, behold, it all was futile and chasing after the wind. There was nothing to be gained under the sun.
For to the one who pleases Him, He gives wisdom, knowledge and joy, but to the sinner He gives the task of gathering and accumulating wealth to give it to one who pleases God. This also is only vapor and striving after the wind.