Whenever the sun burns out, probably - millions to billions of years from now, I'm sure. Nothing to worry about for us, as we won't even know the names of our family which'll be alive in that century.
Don't think the world can just end, it's a gradual decline. Kind of impossible to guess the exact end, but eventually we'll destroy our own planet in some way. RIP x100 great grandkids.