It's important to put this in the global context that every country in the free world shifted rightward post pandemic.
Even if the Democrats had run a perfect campaign they might not have won. And they probably came closer than many peer groups in other nations