Another contrarian thought. When we do as is often suggested, get out of the market and into "safer" investments like CDs or annuities or money market instruments, it could be we're preserving capital. But, another way to look at that is we are avoiding the risk of sub-par returns or even losses by throwing the gains away up front, by going from 10% or so average returns in the stock market to 3% or so average returns for "safer" instruments like treasuries or CDs. In that scenario, even in good years you threw away 7%.
My retirement plan was to contribute to my stock market fund every year, and ignore everything else. I started in 1988, and I rode out (by doing nothing) the big dips. Of the money in my fund when I retired in 2022, 10% was what I contributed, and 90% was earnings from the stock market. And I did take about 50% hits in 2000-2001 and 2008, and still ended up with huge gains, because the market came back.
Everyone should just do what you want, and pay attention to your own advisors. I'm not trying to convince anyone of anything. This is what's working for me.