There is even more to this story, and twists and turns that may never see the light of day. But this article does a good job summarizing the past few years of Russia's pressure campaign to influence Ukrainian politics, through the lens of one actor in particular: lobbyist, political consultant, and Trump Campaign Manager Paul Manafort.
https://www.nytimes.com/2022/11/02/magazine/russiagate-paul-manafort-ukraine-war.html
tl;dr - When either Putin or Trump-aligned Republicans label Ukraine as "corrupt," it's not the pot calling the kettle black, it's the pot calling the kettle a pot.