Inflation does nothing but reduces the value of our money that is what held in possession by middle class in their savings so higher inflation will curb the life of middle class and force them to work more to meet their needs which gives opportunities for the rich people to exploit the human resources apart from that inflation makes rich people richer cause they hold their assets in anything like gold, bonds, real estate, luxury items so if inflation hits they are the one will be benefited.
What you say is very true, those whose economic conditions are in the middle class certainly have difficulty meeting their needs because the wages they get from their work will have difficulty meeting their needs, so it is important for us to be able to prepare savings for ourselves. before inflation occurs in order to survive in this inflationary situation.
When inflation occurs, there are some people who can take advantage of this situation to increase their wealth, as you mentioned, those who have saved real assets will certainly be able to benefit from it.
The fact is they can't do anything that is why they belong to the middle class they have to go along with whatever the condition becomes, but thinking about future at the present itself can give us an escape if we are skillful enough and how to channel our savings into investments instead of just keeping it as money even though its easy to say but in reality it's hard though to keep up with inflation and also save for future and it must be exhausting.