In the 1800s, TB (or “consumption” as it was known then) was considered to be a desirable way to die because it was the sign of a delicate, sophisticated soul. Looking like a TB patient even became the height of Victorian fashion; women would paint little veins on the side of their face and drink vinegar in an attempt to bleach their skin and become as pale as possible (as immortalised in this Horrible Histories sketch). In her book Illness as Metaphor, Susan Sontag argues that our current obsession with skinny models is a trend rooted in this consumption craze.
TB was a particularly popular way to kill off characters in nineteenth-century literature. Authors delighted in glorified descriptions of trembling men and women with gigantic dark eyes who had somehow become wiser and even saint-like through their condition (usually glossing over the less attractive aspects like the excruciating pain and the smell).