If Hillary had campaigned on a political platform instead of trashing Trump and his supporters, she would probably have won, being an experienced politician while Trump was an amateur at the game.
I guess we ought to thank her for shooting herself in the foot.