The flip side is that Trump ran an awful campaign. He gave a terrible RNC speech, his VP was deeply unpopular, he lost the debate, he had no ground game to speak of, he offended key demographic groups ... and none of it mattered.
If Harris loses, there will be a lot of recriminations directed at her, but it's hard to point to any glaring mistakes that she made. She ran an excellent campaign.