With climate change being a thing and there being no end in sight, how long do you think humans have before we destroy ourselves? This is also taking into consideration the threat of nuclear warfare.
I think the correct question is, how many times have we already destroyed ourselves? We've had enough documented resets in human history to know that we've destroyed ourselves several times. What number will this be?
I would say a few hundred years till this planet starts becoming like hell... But that's not enough to destroy the entirety of ourselves, I would say it would need to be done purposely with malice (like an overboard nuclear attack). So it's hard to determine when, so possibly at any time it can happen.