The claim that we have (or had) enough nuclear weapons to cause the actual extinction of humanity, much less cause it several times over, is dubious. If you google it there are numerous articles debating it. At the very least there isn’t scientific consensus.