Here is the Marxist take on this:
Labor was not meaningless as long as it was necessary for our survival. A few centuries ago 90% of people had to work in agriculture to put our food onto the table.
Then came the division of labor and also capitalism which brought us what Marx calls alienation (German: "Entfremdung") . The worker in order to survive needs to sell his labor power but when working for the capitalist he/she is alienated from his work. His products do not belong to him even as he made them. Even worth by working there he furthers the circumstances that make up this systems.
All these consequences are implied in the statement that the worker is
related to the product of labor as to an alien object. For on this
premise it is clear that the more the worker spends himself, the more
powerful becomes the alien world of objects which he creates over and
against himself, the poorer he himself – his inner world – becomes,
the less belongs to him as his own. It is the same in religion. The
more man puts into God, the less he retains in himself. The worker
puts his life into the object; but now his life no longer belongs to
him but to the object. Hence, the greater this activity, the more the
worker lacks objects. Whatever the product of his labor is, he is not.
Therefore, the greater this product, the less is he himself. The
alienation of the worker in his product means not only that his labor
becomes an object, an external existence, but that it exists outside
him, independently, as something alien to him, and that it becomes a
power on its own confronting him. It means that the life which he has
conferred on the object confronts him as something hostile and alien.
Economic and Philosophical Manuscripts of 1844. Karl Marx
I noticed that the Wikipedia artikel on Alienation has become quite comprehensive.
One thing that Marx does not focus on much as it is a more recent phenomena is the rise of "Bullshit-Jobs" (David Graebner). In Marx view on capitalism, capitalism is still "efficient": The capitalist is forced to produce with as little as work as possible in order to be competitive. And this idea is what still lingers in the mind of a lot of Marxists today. But with the enormous growth of productivity in the last 150 years (Due to scientific and technological progress) there is a big problem for capitalism: Overproduction. So in order to sell their product they need to create artificial demand. Advertising, planned obsolescence, war, etc. So we live in a world where we could have a good and happy life with much less labor.
But even in the time of Marx overproduction was an issue (but then only in "time of crises" where now this is a permanent issue:
In these crises, a great part not only of the existing products, but
also of the previously created productive forces, are periodically
destroyed. In these crises, there breaks out an epidemic that, in all
earlier epochs, would have seemed an absurdity – the epidemic of
overproduction. Society suddenly finds itself put back into a state of
momentary barbarism; it appears as if a famine, a universal war of
devastation, had cut off the supply of every means of subsistence;
industry and commerce seem to be destroyed; and why? Because there is
too much civilisation, too much means of subsistence, too much
industry, too much commerce. The productive forces at the disposal of
society no longer tend to further the development of the conditions of
bourgeois property; on the contrary, they have become too powerful for
these conditions, by which they are fettered, and so soon as they
overcome these fetters, they bring disorder into the whole of
bourgeois society, endanger the existence of bourgeois property.
From: Manifesto of the Communist Party
by Karl Marx and Frederick Engels
On the topic of religion: As labor was necessary for survival it should not come as a surprise that religions often place some emphasis on labor:
"He who does not work, neither shall he eat"
But it is also interesting to see that throughout history there are christian voices that reject the labor.
Look at the birds of the air; they do not sow or reap or store away in
barns, and yet your heavenly Father feeds them. Are you not much more
valuable than they?
(Mat 6:26)
Think of Franz of Assisi and some other mendicant orders.
Particularly interesting to me here is the split between Catholics and Protestants: The Protestant Ethic and the Spirit of Capitalism (Max Weber)
Also the new developments where Pope Francis speaks out in favor of a universal basic income...