1) We are not heading for "the end of the world". There are lots of projections of what things can go wrong. But the climate changes slowly, we are becoming richer and we'll adapt. Also a lot of what is reported is on "worst case" (or things might get as bad as so-and-so) that are often based on CO2 projections that have almost no chance of coming true.
2) Even if you disagree with #1: we are already on our way to solving the problem. We will still have warming, for sure. But we will likely be at or near the goals we've set for end of century. Tech is improving: we are deploying solar, wind and (suddenly) more nuclear; electric cars; heat pumps; and so on. We will eventually run out of fossil fuels. And, population growth is slowing faster than anyone predicted.
Yes, we should be vigilant and continue to try to reduce CO2 emissions. But the idea that "we're all gonna die!" -- or anything close to it -- is wrong. And it's not supported by the science at all.