Because there were so many factors that contributed to Biden's 23% total inflation.
The Federal Reserve contributed by not tightening rates when they should have.
Economists contributed by calling serious inflation "transitory".
The drought made beef expensive as herds were reduced and some crops failed.
Biden's open borders letting 12,000,000 illegals into the US and giving them free food and free housing increased demand and reduced the supply of just about everything,
So "affordability" has many factors and very few solutions. Housing for example has materials that are too expensive, and mortgage rates that are too high, so a major component of the economy is going nowhere.