In my opinion, Ukraine is very lucky as a state, if you live in Ukraine you are unlucky, but as a state it's lucky. Ukraine is a middle power with farmland, fossil fuels, and leftover soviet arms factories. It's not a very rich country compared to its neighbors. It just so happened to contain lots of food and fossil fuels(natural gas), and a geopolitically advantageous position for foreign powers like the EU, US, NATO bloc, and the Russians of course. Things could have gone south for them if the US and Russia agreed for Russia to take over Ukraine in exchange for Russia staying neutral with the coming China-US confrontation, and the US could help Russia with its better technology in drilling for its hard-to-get fossil fuels like Exon's Rex Tillerson did. It just so happen that the US wanted to take down most of the former historical Soviet, communist, and communist PAC-aligned countries not under significant western influence like Syria, Russia, China, Iran, and North Korea instead of going after just China or fighting climate change.