Long term the stock market is the place to be. That doesn’t mean however there aren’t entire decades, or in some cases several decades, where its a losing proposition.
Whats your time frame? Mine tends to look out a couple of decades. If you get out of the market now and stay out till we are out of the bear market we’ve entered, you are probably better off. You can always re-enter when the smoke clears. It will be pretty obvious, as banks will stop failing, interest rates will return to more historic norms and unemployment will be abating.