For the first half of Earth’s existence there was hardly any breathable oxygen. There was no life. In the end, Earth will return to a state where there is no life.
So, yes, Earth will out-survive humans, and yes, it may and will return to a state where no living thing can survive on it.
Sooner or later, maybe a billion years from now, the sun will become a red giant. All life on Earth will have ended by then.