This is happening to a lot of people, not just you. The thing is, inflation has been outpacing wage growth pretty much across the board. When you're getting a 3% raise but overall costs are jumping 5-8% or more, yeah, your buying power actually shrinks even though the number on your paycheck went up. It's frustrating because on paper it looks like a raise, but in reality you're worse off than you were last year.
Your area might be particularly rough though. Housing costs vary wildly depending on where you live, and if you're in a city or region where rents have exploded, that's going to hurt way more than someone in a place where housing is more stable. Same goes for gas and groceries to some extent - regional differences matter. But the core problem is universal: wages have been sticky (employers are slow to raise them significantly) while prices for essentials like food, energy, and housing have been climbing faster.
The tricky part is that a 3% raise is becoming pretty standard during this period, but most economists would say you'd need something closer to 5-7% just to keep even with actual cost increases. So unless you got way above what's typical, you're getting squeezed. It's one reason a lot of people are job-hopping more often - staying put means accepting a real pay cut year after year, so people are looking for bigger jumps when they switch positions.