I think that the first 20 to 30 years will be very difficult for humanity. There is a distinct reactionionary movement that is blocking or even reversing progress needed to fix various problems (including, but not limited to climate change, destruction of ecosystems, housing problems and the world population aging beyond sustainablitiy). It will get very messy.
After the boomer generation has died out as well as my own (GenX-er here), humanity can hopefully look forward again. As I age, I really think that it is our two generations that are blocking progress. As millennials and Gen Z ages, they will hopefully learn from us how not to do things.
One reason I have not read yet: scapegoating. In my country, back in the early 2000s it was the “terrorists” who made it possible to enforce a few unpopular and unconstitutional policies. Nowadays, it is the “immigrants” who take our jobs (we have a job shortage), housing (which was sold off to investors) and health care (which was sold off to investors). Point to a group that cannot defend itself and people will vote in your favor.