I agree on why Trump got a lot of his votes. We have ample evidence that there is a very racist and misogynist element within the "conservative right."
The conservative right wouldn't have voted for Harris anyway. That's not why he won.
He won because the Democrats care about whether their candidate stumbles across words and speaks incoherently, so Biden was pressured to step down, and Harris was forced to step up at the last second, with nobody really knowing who she was or who she stood for, thus limiting her ability to bring voters out.
He won because the Democrats weren't clueful enough to get Biden to fully step down and make Harris the next President immediately, which would have given the public months of seeing her actually lead the country.
If he really was struggling, then he won because Biden did not step down and let Harris take power before people started questioning whether he was fit to be in office.
He won because Biden did not recognize that he would have a hard time running again and allow an open primary.
He won because the Republicans were able to paint it as a coverup of Biden's feeble-mindedness, and the Democrats weren't able to show people that struggling mentally when you're physically fatigued isn't inherently a sign of dementia.
He won because Democrats had too much class to use the dementia card on Trump, either first or in retaliation.
He won because too many people conveniently forgot what a disaster he was during his first term, and too many people gave him a pass for the economic damage he did, and the folks prosecuting him for crimes were way too slow so it was still going at the next election.
He won because Kamala Harris was a center-right Democrat who tried to put on progressive clothes to get votes, then swung back towards the center again to get votes. Her time as a prosecutor draws into question her progressive bona fides. That meant the left didn't come out to vote.
I really don't understand why the only two women candidates that Democrats have run have at least appeared to be at the authoritarian end of their party. That doesn't win the presidency unless you're running as a Republican. Both of these candidates were mistakes. There are plenty of women in the Democratic party who would have been better choices.
In short, there were so many things wrong with her candidacy that it's hard to count them all. Gender and race were likely not a meaningful part of why she lost, or at least there are so many other confounding factors that it would be impossible to pin it on either of those.