In a high inflation economy, salaries lags behind prices increases.
This is because revenue of companies typically follow inflation indexes with a much shorter delay.
First the workers need to feel they are getting shafted and this takes time. Like, first they burn through savings, then they see news 'inflation double digits', then they see pay increase in single digits and this takes 1~2 years. Then they feel a reduction in quality of life. Then they negotiate adjustment and if companies refuses sometimes they strike, sometimes they leave for another job, sometimes they take the shaft.
On a wide scale, the reduction of purchasing power causes the demand for non essential goods to drop massively, while the demand for essential goods remains stable. The reason for this is simple: people cut the luxury if they have been shafted at their job. But they can't cut essential goods.
So it's better to be a company that sells essentials goods in a high inflation scenario eg: oil and gas, meaning people can't cut you from their budget.