We're living in an era of human history where core growth has effectively halted; and most "growth" since the 80s-90s has been synthetic. Real growth overwhelmingly comes from one place: rising population rates. The net rate of growth of our population, in the economies that matter to our global perception of the world, has effectively hit zero since the 70s; the excess deaths caused by multiple back-to-back recessions and COVID-19 close the gap on any small lead the birth rate may have had over the death rate.
Some people say "efficiency gains from automation will help close the economic gap caused by a declining population". Barely, but keep hope alive. Automation is extremely expensive, requiring complex machinery, complex software, smart engineers to build it, and smart operators to keep it running. All of those components have dozens of steps in the supply chain to get from raw material or babies to an effective, non-brittle system. The jump from "farming by hand" to "a tractor" is FAR more capital efficient than the jump from "a tractor" to "a tractor that drives itself". Why are Ubers so much more expensive than Cabs? Because Uber has to fund a massive engineering and logistics effort to automate the delivery of its services; cabs don't.
The more pertinent point to try and answer is: Why is the birth rate declining? There's a ton of proximate answers to this question, but the root cause of all the problems is really: declining growth in raw resource deposits and virgin land. This decline in growth has caused material things, and thus services, to all become more expensive over time.
These are the four things that keep an economy running effectively: People, Resources, Land, and Automation. When they fall out of balance, too much or too little, things start falling apart in both obvious and insidious ways. Wars are fought over countries having too much land and resources. Too little of them, and people can't afford to reproduce. Automation can help close some of the gap, but too much of it leads to expensive, brittle systems and non-productive bureaucracy to support them. An imbalance stresses the system; it stresses the people in it, it forces them to do counter-productive things like resort to robbery, it causes hormone imbalance which can lead to aggression, which influence the polices' default response from friend to foe, its a forcing function on today-over-tomorrow in businesses meeting demands from customers, taking shortcuts like not fully researching the harms of deploying some new chemical in food processing or dumping waste into the ocean or not properly responding to carbon emissions. Macroeconomics influences everything; it can raise people out of poverty, but it can also destroy them.
There's a few good things on the horizon that may improve the situation, though we're talking timescales of decades.
* There are large parts of the population whose labor has been under-exploited by the capitalist system. As China declines, SE-Asia is picking up some of the slack; and there's an entire content of people in Africa. Continuing industrial-scale exploitation of these people will help sustain us a bit; we've got a good start with e.g. diamond and cobalt mines in sub-Saharan Africa, and I expect we'll see even more over the next decade. The birth rate in these countries is still a lot healthier than the West/East; but, naturally, it won't stay that way as industrialization and fighting for workers rights happens, leading to improved standard of living; they're just a few decades behind us, but they'll catch up.
* COVID-19 reduced the population pretty substantially. Global warming will continue that trend into the next thirty years, killing and displacing in the eight to ten figures of people. Contrary to some previous points; this will actually be good for the short-term economy, though quite bad for the long-term one. Reducing consumption will be good. Mass migrations of desperate people will be good to keep the labor supply going. More deadly natural disasters will give the government the credibility it needs to spend money without triggering concerns about inflation or insolvency (similar to COVID-19). Just watch out for natural impacts to raw resources in the supply chain, like flooding in the US bread basket or wars in eastern europe over natural resources (ope).
* Space, I guess. If we, as a species, can start sustainably living, producing, and reproducing in space, either independent of gravity wells or within other ones; that's basically the only out without a massive disruption to civilization. Of course, there's challenges with space; but the sheer amount of resources should pretty easily overwhelm most of those challenges. If you're paying attention to what is happening and will continue to happen in the world: building technologies that will push forward the colonization of space destinations proximate to resource rich areas is the single most important thing humanity should be working on right now. There's nothing else. EVs are cool and important; but not the most important. Ad technology isn't important. Stopping climate change is long-past being attainable; but we're not talking about "escaping to space and leaving earth behind", we're talking about finding more balance, being able to send resources back to earth, creating optionality.
Late-stage capitalism not from the sense that capitalism always terminates in a world where we're living today. But from the sense that no global economic system is sustainable without growth. We can find more growth, or we can live in isolated communes at a thousandth the population size and subsistence farm (though given global warming this probably isn't an option anymore).