Trump won because Republicans loved him, whereas most Democrats were pretty lukewarm on Clinton.
If I rated Bernie 5 stars, but Clinton only 3, it would have merely made a Trump victory even more secure.