That's a very questionable assumption.
Many people have criticized the CPI and inflation rate as an inaccurate measure of the cost of living. Housing prices are crazy in many areas. I think you're exaggerating about the affect of egg prices specifically on voter behavior. And with any average or median, there are often vastly different outcomes for different people who are not exactly average.
> when people got raises they went "wow I'm so good at my job and hard working and smart"
This feels like a straw man.
> when eggs/gas prices went up they went "the president is a bad man and bad at high job".
This also feels like a straw man, and the phrasing is quite condescending.
> people still ended up angrier than they did post GFC
Did they? After all, the 2008 Presidential election during the financial crisis was kind of a blowout in favor of the opposition party against the incumbent party. Whereas 2020 and 2024 were closer elections.