That reasoning is sort of an oxymoron. It is true that Mrs. Clinton was a seriously flawed candidate that I and many others was not thrilled to vote for, but she did gain more votes than many who were elected president.
I wrote an article listing ten reasons why Trump won. It only takes a tiny fraction of each reason to equal the Trump Victory.
Another way to look at it was that because of the vagaries of the Electoral College, it required but a mere 80,000 votes spread across three states to throw the election to Trump. That could have amounted to nothing more than a few Democrats simply wanting to express a desire for change just for the sake of change.
Historically it is very common for the fickle public to vote for a president exhibiting a persona totally opposite of the previous one. And that certainly is the case with Obama and Trump.