Defined benefit pensions and 401k get invested in the same thing.
Hence why the government repeatedly provides a backstop whenever things start to take a downturn.
Where are you getting this? Baby Boomers are smoothly transitioning their share of stock ownership to younger generations [1].
[1] https://www.federalreserve.gov/releases/z1/dataviz/dfa/distr...
When the silent generation had 55% of the "total wealth" (and declining), boomers had 40% of the remainder, but now boomers have 55% (and climbing, instead of declining), and the younger generations only have 26% (combined).
It looks like they are still hoarding (for lack of a better term) wealth than relinquishing it.
One, stock ownership, not total wealth.
Two, boomer share is declining after peaking around 2020. It’s flat-ish as they begin retiring. Gen X got screwed, but the pick-up among Millenials looks like a return to the norm. (Look at the Boomer/Silent share in the 1990s.)
Three, the generation on the precipice of dying, the Silents, are not the chief stockholders. Boomers still have decades to live. They’re not looking to eke out another year or two of growth at the long-term expense of anything, they need that decades-on value to bank on.
OTH Gen X got a chance to lose their savings during the latter stages of dot.com and then again in 2009.
But wait, there's more! The only reason growth is pushed for so hard is because most of the investors are retired or retiring soon and don't want to work any more. If the companies stop growing then their stock prices might go down. They gambled hard when they removed pensions from US companies and they can't lose the game before they die!