We almost went extinct in the past, but sooner or later we will, and our planet's core will run out of energy no matter what.
http://news.bbc.co.uk/2/hi/science/nature/2975862.stm
http://news.bbc.co.uk/2/hi/science/nature/2975862.stm