that's why you get interest and above a certain amount of savings, you invest in the market to get growth. otherwise you buy land or gold.
Unfortunately, for people who live paycheck-to-paycheck, there's not much to be done besides wait for wages to catch up. And in general, wages don't keep immediate pace with inflation. The net result is that lower-income workers suffer the bulk of the consequences of high inflation.