I wouldn’t say they were on the verge of defeat so much as they were already defeated. They took 99+% casualties and the rest of them could fit comfortably on the Millennium Falcon. Rise of Skywalker effectively ignores this and fills out their numbers without explanation, presumably with new recruits. But would a secondhand story about Luke really do all that much for the propaganda effort?
What makes him a symbol of hope? He came way too late, he didn’t even let them know that he was letting them escape, and they’re all going to think that he lost (which he kind of did because he died.) The reason Leia was seeking him out in TFA is so he could train new Jedi; that was the reason both sides were after him and the reason he would inspire hope. That never happened.
Immediately refuted by the opening crawl of The Last Jedi mentioning this: “Only General Leia Organa’s band of RESISTANCE fighters stand against the rising tyranny, certain that Jedi Master Luke Skywalker will return and restore a spark of hope to the fight.”
That’s not refuting it at all. Snoke wants him dead because when they find Skywalker “the new Jedi will rise.” When Lor San Tekka gives Poe the map he clearly refers to the purpose of it as being the return (heh) of the Jedi, “without the Jedi there can be no balance in the Force.” They send Rey to be the one to find him at the end because she’s clearly the best candidate for a new student.