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.