Ben Jonson wrote his play The Alchemist in 1610, while the plague was still ravaging London.
Bocaccio lived through the 1348 plague that ravaged Florence and was inspired to write The Decameron, about a group of wealthy socialites who practice social distancing by holing up in a house in the country.
Samuel Pepys kept a very detailed and funny diary even though the Great Plague of London from 1665-1666.
Daniel Defoe was inspired to write A Journal Of The Plague Year, a fictionalized account of events of 1665, in 1719 during an outbreak of plague in Marseilles, France.
Thucydides continued writing The History Of The Peloponnesian War even through the 430 BC plague of Athens, which he also documented.
George Orwell wrote 1984 while suffering from tuberculosis.
So did Franz Kafka. I mean, he didn’t write 1984, but he continued to write, including working on his final novel The Castle, while in a sanatorium being treated for tuberculosis, where he died.
The Marquis de Sade wrote most of his works while in prison and most of his works probably should have stayed there.
Emily Dickinson spent most of her life in self-imposed solitude but still managed to be a great poet.
Robert Louis Stevenson suffered from a respiratory ailment for most of his life but started writing as a child and didn’t stop until his death at forty-four.
In two weeks I’ve accomplished absolutely nothing. I guess there’s still time, though.