The reason why Hillary Clinton did not get elected was that the majority of people did not believe she would lead an economic revolution that would return the middle-class back onto the road of prosperity. Instead, people threw caution to the wind and voted for Trump because he provided some hope of accomplishing that, which now appears to have been nothing more than a pipedream.
If Hillary had proposed to Bernie Sanders to team up where she would have been the presidential candidate, he the VP candidate, and together they would led such an economic revolution, he would have accepted and they would have won easily. Bernie would have would have been in charge of the economic revolution while Hillary performed the other presidential duties. But she didn’t and she lost as a result. And it’s her fault, not Bernie’s.