I'll second what others have said - that raises are larger when you jump companies, and not enough when you stay. Early in my career I didn't see raises higher than inflation even though I was gaining experience quickly. Prior to the last couple of years inflation has been low for so long that it doesn't surprise me companies aren't raising salaries enough.
One thought that used to help me find comfort was that the raise applied to my entire income, including the portion that I use to pay the mortgage (which didn't increase for inflation), and the portion I use to pay my student loans (which also don't increase for inflation). I've kept these as a sort of inflation hedge over paying them off as part of the FIRE journe.
Today I'm FIREd over a year, and while inflation is one of the things that can sort of torpedo this thing, I'm a bit too busy to run a comparison. I have some savings for future expenses that may or may not materialize, so it's hard to know if inflation has raised the bar to where I need to change my plans.