That's right but actually people who suffering because of inflation are only those who only have fixed income. For example, let's say I am a business man, when I use my money to create product and keep the money in good velocity then inflation will not cause bad effect on me even when inflation happen I can rise the price of my product so I can get higher profit. But this only happen to a small percentage of people around the world. Most of us are suffering because of inflation.
That doesn't help you avoid the bad effects of inflation. Since you need money to make your product, you have to spend more capital because the seller also increases the price of the raw materials of your product. Also, don't forget that you have to fulfill your basic needs.
You will still feel the bad effects of inflation as long as you are a consumer, unless you have reserved all your needs before inflation occurs.