I don't get the point of the sentence in bold below, what does that mean by "survive XXX to die of the XXX"?
Does it mean "did you prefer to die of the web than to survive bad diseases like HIV"?
If the internet killed you, I used to joke, then I would be the first to find out. Years later, the joke was running thin. In the last year of my blogging life, my health began to give out. Four bronchial infections in 12 months had become progressively harder to kick. Vacations, such as they were, had become mere opportunities for sleep. My dreams were filled with the snippets of code I used each day to update the site. My friendships had atrophied as my time away from the web dwindled. My doctor, dispensing one more course of antibiotics, finally laid it on the line: “Did you really survive HIV to die of the web?”
Source: I Used to Be a Human Being, Andrew Sullivan