That would take about five billion years. The Sun is a main-sequence star, and that's the calculation. We won't even exist as a species by then.
We might be something else, but that's a different discussion.
There's a joke about an astronomer giving a lecture, and he tells his audience the timeline that I just related.
A man in the audience stands up and shouts, "What! How many years?"
"The sun will destroy the inner planets in five billion years," the lecturer restates patiently.
"Oh, what a relief!" The man sits down again, "I thought you said five million years."
Could be sooner! (why I’m laughing right about now, I don’t know...)