How did Luke fail on Hoth again? He took out an Imperial Walker, (came up with the idea to use tow cables to trip them up too) and bought the Rebellion time to evacuate. It was never about beating the ground invasion.
Heck, even the old ESB Atari 2600 game can’t be beaten. The walkers just keep coming and coming.