I‘d highly recommend the follwoing book:
The Better Angels of our Nature by Steven Pinker https://books.apple.com/ch/book/the-better-angels-of-our-nature/id457552067?l=en-GB
While it might seem that the world is getting worse and worse, it’s actually quite the opposite. We have less war deaths than any centuries before, social justice is on the rise almost everywhere, poverty is at an all time low. For the last 50 or so years, almost every metric of human wellbeing increased, some significantly.
Doesn’t mean there aren’t any problems and we still have a lot of work to layed out for us. But to say that the world is getting worse and worse is just factually incorrect.