Inflation doesn't make more profit (unless a greedy retailer hikes prices beyond inflation because they think they can hide it in the general inflation).
Interesting how grocery profits went higher than the prior 30 year trend when covid supply chain impacts happened, and have continued to stay on a higher trend in the high inflation years following covid.
Yes, the retailers are greedy and increasing prices beyond inflation, and they're quite successful at it.