Ecclesiastes 2:22 For what has man for all his labor, and for the striving of his heart with which he has toiled under the sun? [23] For all his days are sorrowful, and his work burdensome; even in the night his heart takes no rest. This also is vanity.
This accusation is a broad stroke involving not just human vocation, but every work man does under Heaven. The idea then involves our work, pastimes, hobbies, thoughts, family time, et al. The effort we expend in our many pursuits great or small are encompassed by this indictment.