Your understanding is misinformed. From my links:
"a declassified report released in January 2017 by several intelligence agencies, which concluded that 'Putin and the Russian government aspired to help President-elect Trump’s election chances when possible by discrediting Secretary Clinton and publicly contrasting her unfavorably to him.'"