I don't think this is accurate. Russian annexation of Crimea was done to cheering of the locals and to little to no resistance from the Ukrainian state entities operating inside Crimea including the military, most of which ended up staying and joining the Russian military. I don't think this counts as a war, unless you want to add some qualifier. The war in the Donbas was a war, but primarily an internal Ukrainian conflict with Russian involvement. Most of the fighters were locals. Russia certainly stirred the pot, and ensure the rebels could not be defeated by conventional means, going so far as to send BTGs into Ukraine, but they were a minority that got involved in key moments. I would classify that as an intervention into a Ukrainian internal conflict. Lastly the period from Minsk 2 to Feb. '22 wasn't really war. It was a "frozen" conflict with occasional flare ups. Remember, we are talking about this in the context of comparing this to the NATO effort in Afghanistan. Compared to the NATO and Taliban efforts there, I don't think we can say that Ukraine has been at war since '14 continuously and has shown a comparable situation vis-a-vis their resilience.