Ukraine is not supposed to win militarily on the battlefield. If the West wanted Ukraine to win, things such as allowing AFU to use ATACMS on Russian territory would not be a debate. The West wants Russia to attack Ukraine out of security necessity by threatening the expansion of NATO to Georgia and Ukraine, which it announced in 2008. Russia is a nuclear power. You don't threaten defeat on a nuclear power without risk.
The situation is like how the Russians were arming the North Vietnamese against Americans. The US justified involvement in Vietnam because of the so-called communist domino theory. North Vietnam won anyway and the South fell to the communist, and the communist domino threat theory went unquestioned. Because the domino theory was absurd. Vietnamese were ultranationalist, and no communist domino effect happened when the US cut and ran. The idea that communism was like a virus that needed to be contained from turning into a pandemic was a justification to be involved in the politics of other countries. Vietnamese were never allies of China or the Russians, just like the mujahedeen were never allies with the US.
Better than nothing I guess.