When will humanity most likely go extinct?

Obviously it’s hard to predict. But whenever I look it up, people either seem to think it’s within 100 years or billions of years. Are there any scientific articles on it?
4 answers 4