These things take time. The Soviets held all the major cities in Afghanistan for 10 years. The Americans had a major presence in Vietnam for 9. World powers can certainly take a punch and keep going. Ukraine does not disprove the idea that at some point they'll throw in the towel.