Not all government bonds are worthless against inflation!
You can purchase up to $10k in Series I bonds every year that carry a fixed rate (currently 0) + a variable rate set by inflation (CPI) that is adjusted semi-annually. I bonds purchased right now are yielding 3.5% (due to recent CPI data) for the next 6 months. They are an excellent place to park some cash/emergency fund with some caveats (no redemption for 12 months, lose 3 months of interest if you redeem before holding for 5 years)