Milton Friedman has several lectures around this. While excessive taxation and inflation are both bad for various reasons, inflation disproportionately hurts the poor.
People who own homes, businesses, stocks, cars, gold, silver, bitcoin, farm land etc. dont have to worry about inflation as much. Those who have only cash in hand are the losers. Poor people who typically have only few thousand dollars in cash deposit savings see their money being wipes out by inflation. You dont have to worry if you have sp500.