EU just needs to support Ukraine until Russia has dug themselves into a hole that will take generations to recover from. Their might be a point where the war hasn't ended but Russia is no longer seen as a threat by the EU.