Ukraine’s response to Russian aggression in 2022 holds valuable lessons for the EU and its member states.