Legacy of Ukraine war 'will be felt for generations to come'