If it's bad for the USA to meddle in "elections around the world for decades", is it not equally bad for Russia to have meddled in the election of the USA?

If meddling in elections has, historically, ended so dismally for the countries involved, why did Russia think its meddling could possibly have anything but a dismal end?