Dying Star Offers Glimpse of Earth's Doomsday in 5B Years