Inflation jacks up everything you buy faster than wages catch up, so prices come first or everyone loses.
If inflation runs hot, businesses can't predict supply costs and freeze hiring. You can't even get to the wage part if the jobs disappear first.