Ukraine's inability to root out corruption so that it could join the EU/NATO wasn't some national failing as much as a very active Russian FSB/SVR presence inside Ukraine that prevented any significant reforms. The invasion was an admittance that their underhanded techniques were failing and a more active method of intervention into Ukrainian politics was necessary.