Perhaps those investments were useless? Ukraine has retaken a mere sliver of land since last summer and Russia still occupies nearly 20% of the land that they've stolen since the 2022 invasion. That doesn't include Crimea, which Ukraine might as well forget about altogether for now.
CNN Article: Ukraine's military chief, Gen. Valery Zaluzhny seems almost puzzled that the arsenal supplied to Ukraine by its Western allies, and the mobilization of several more brigades, has made so little difference. Changing commanders and moving divisions have had no impact, he says. “Four months should have been enough time for us to have reached Crimea, to have fought in Crimea, to return from Crimea and to have gone back in and out again,” he adds.
“Exhaustion with the war rolls along like a wave. You see it in the United States, in Europe,” Zelensky is quoted as saying.
I think Ukraine needs to chalk this war off as a loss and bide their time. The sooner this war ends, the sooner Ukraine can look to the business of joining NATO to hopefully prevent this from happening again.