During her time as United States Secretary of State, Hillary Clinton used a private email server for official public communications instead of using the official State Department account maintained on secure federal servers. An FBI examination of Clinton's server found over 100 emails containing classified information, including 65 emails deemed "Secret" and 22 deemed "Top Secret". This controversy was a major point of debate during the 2016 presidential election, where Clinton was Donald Trump's rival.
Donald Trump was able to win because of Hillary Clinton's mistakes. The email scandal brought into question the trustworthiness of Clinton and swayed Democratic voters.
The media helped to elect Trump in 2016 by unfairly over-covering Hillary Clinton's email scandal. This gave Clinton a bad image in the eyes of the public and led to more Americans deciding to vote for Donald Trump instead.
[P1] Americans vote for trustworthy presidents, and Clinton proved herself to be untrustworthy. [P2] Americans voted for Trump.