I have a small amount in Vanguard’s investment grade long-term bond fund (VWESX). It pays slightly under 4% in dividends, and is up in share price about 8.25% over the last 5 years, and up about 4.85% over the last two years. That’s not bad, considering that bank interest is nearly zero, and car loans only charge about 2%.
Junk bonds and government paper are doing a lot worse.
My other bond investment is in a tax-free bond fund for my state that buys municipal bonds with short time before maturity to keep volatility low. It’s paid close to 4% in dividends for over 20 years, plus a modest amount of share price increase. There was a fairly severe dip in share price during the housing bubble collapse, when there was fear of municipal defaults, so it’s not suitable if you need 100% security and liquidity. But it’s the closest thing I could find to an old fashioned 4% bank account.