i moved a little (10%) to cash as I’m paying for my kids college, and paying at intervals I don’t control, so if the stock market is down, I can sell stocks in my Kids 529, and move from cash to stocks in my 401(k)- so no market risk.
I have the cash holding in the TSP G fund, which is the most attractive Demand cash investment available- of course only available if you are current or former .mil or .gov- you can fund it with a401(k) transfer or non Roth IRA. Even so, it barely keeps up with inflation ( and not even that-right now)
Within the stock market, utilities act a lot more like fixed income investimemts, and will not deliver the risk or returns of say FAANG or Microsoft- but their returns should be inflation protected. That’s maybe 5% of my holdings, along with some PMs. Other than real estate ( My house and Farm land), the rest is in stocks- 60-70%. My house is paid off, that’s essentially a fixed income investment.