I know in the comics & books its mentioned that there were other bases and Hoth was little better than just another landing strip to stage attacks from and was never intended to be permanent. They'd abadoned Dantoonie for Yavin IV.They're a Rebellion, by its nature it has to move around a lot. I recall them mentioning that Hoth is just the last in the many bases they've had to hide out in. They had to do that before Yavin IV and the Death Star, the Empire just started taking them a bit more seriously. The movie gives plenty indication that there's still tons of Rebels kicking around, it's not like they've been pushed to the absolute brink. Like I said, it's really personal and emotional roadblocks that exist at the end of the movie, and Luke's "hot-headedness" ends up working in ROTJ. It's almost absurd how badly TLJ ends in comparison.
I'm saying look at it from the point of view of a normie who only watched the movies.