Which will decline as the Fed cuts rates. Longer duration locks in risk free yields longer. Your portfolio goals and allocation will of course drive your strategy.
The 5% HYSA minus the FED-targeted rate of 2% is back to 3%. But high quality dividend companies generally raise their dividend each year, plus you get the increase in stock value. So you only get 3% in income, but your total return is much better.