Global warming is not a civilization-ending threat. Even nuclear war is not a civilization-ending threat, outside a few places in the Northern hemisphere. I could be wrong about both of these claims. But you could be as well, and you're taking an extremely pessimistic view based on what you know, which is not the whole picture.