For the past several years, it has been impossible to get any sort of return on cash balances. The Fed Funds rate was literally zero for a while, and banks, money market funds, and CDs all paid close to zero percent interest on cash balances. You could leave money in your bank account because there wasn’t much opportunity cost.
However, that has changed over the past year as the Fed has aggressively raised short-term interest rates.