He was given no chance.Not really. He lost the popular vote and had, historically, a pretty small EC victory margin. Saved by the bell, is more like it.
His own party fought against him.
How many competent candidates have tried & failed throughout history?
Hundreds...thousands....and yet he was one of the very few to become President.
He must know something about politics.