People (and so societies) are hard-wired to be loss averse, which means the facts about what is at stake are more effective drivers of action than the promises of techno-optimism.
Not saying that there are not good optimistic views out there, just that I personally find a realistic view renders many of them quite flat. I think embracing false hope leaves us with a myopic lens through which to frame decisions and probably underprepared to deal with the future.
I find https://polycrisis.org/library/ to be a good resource. Also Nate Hagens podcast.
Nobody has all the answers. Humanity is profoundly and hilariously bad at predicting the future, and every generation has both doomsayers and prophets. Rather than getting caught in the emotional swings of siding with one or the other, I personally have focused on becoming as informed as possible so that I can make my own decisions.