Bitcoin has been very stable against the USD for a while now.
And that's just bitcoin, stable coins are more reliable.
And of course inflation only robs holders, at least volatility goes in your favour half the time.
I also would not call it an investment: there is no reason to expect prices to rise. Bitcoin does not grow in the way a company can (making shares an investment) or pay interest like a bond. It's at best a speculative asset, like maybe gold?