The vanitas paintings were usually full of life, with a few symbols of death, like a skull or blown out candle. In Goya's version, it's just death all the way.
Checkout the “still life” by Théodore Géricault:
He picked up the body parts from the guillotine during the “Reign of Terror”.