So what poll was it and from where from? What makes it more reliable than other polls such as this one carried out last month and all the others that it quotes?
When it comes to war outcomes, 73 percent of Ukrainians believed that Ukraine will eventually liberate all of its territories. A sizeable percentage also believed that Ukraine will regain some or all of its territories within the next year (56 percent) and that the war will end within two years (59 percent). While other polls have found less optimism about the current situation, the general belief in eventual victory is consistent across recent polls.
https://carnegieendowment.org/research/2024/06/ukraine-public-opinion-russia-war?lang=en