I think you may be forgetting the political climate, and dynamics at play in 2016. Hillary was an awful candidate, and she only lost the electoral count because of Comey's 11th hour decision to release that letter about potential new evidence related to her emails (which turned out to be a nothingburger). She won the popular vote.
Had Bernie been the candidate, in that moment, I am convinced he would have exceeded her performance and secured the electoral college as well as the popular vote. He had no baggage and was liked by pretty much everyone. In that contest, he would have prevailed.