Yes, the inflation spike was shitty as hell. Yes, it occurred while Biden was in office.
It's also true that the inflation was the result of (a) about $11 TRILLION of inflationary stimulus pumped into markets between the Meltdown of 2008 and March 2020 (I'll bet we all remember Republicans SCREAMING about QE under Obama until it helped Trump's economy), and (b) global supply chains collapsing after the COVID lockdowns were lifted. It was inevitable. It hit the entire planet at the same time.
But do most Americans know that? Nope. What they know is that inflation fucked things up, things got really rough, and Biden was in office.
And, of course, there are those who are consumed by simplistic partisanship and don't give a shit about what actually happened or why, as long as they can blame Biden for it.
Tribalism is killing us.