The smartest investors on the planet would say STAY the course. Keep investing weekly. You buy more stock at dips with DCA , dollar cost averaging, and will come out way ahead when the market comes back.
It does depend on when you are retiring. If a ways to go keep doing what you are doing.
I'm retired and will not start RMD until I'm 72.5. over 6 years from now. We still invest a little aggressively for our age. perhaps 70/30 stocks to cash.
This is not coming from me. Buffett, Bogel ( started Vanguard funds where most of our retirement money is ) and many other smart business people advise.
Our retirement accts were in the high 6 figures 7 years ago when I retired.
They have doubled since then. Thru ups and downs of the market.
Not too worried now . Only if something unusual and never before seen occurs. In that case we still have our paid off home which is worth 7 figures and a good chunk of cash in several banks.
Whatever you make try to invest the max in the 401k and put aside cash every payday.