"The end of humanity" has been proclaimed many times over. Humanity won't end. It will change like it always has.
We get rid of some problems, and we get a bunch of new problems instead. And on, and on, and on.
It only has to be right once. Humanity won’t end until it does.
Humanity may end if someone else goes to the top of food chain.
Russell's chicken (or turkey) would like a word.
https://en.wikipedia.org/wiki/Turkey_illusion