Actually, both art and music lay claim to the rake’s progress.
The English artist William Hogarth began a series of eight satirical paintings entitled The Rake’s Progress in 1732.
Hogarth engraved the series three years later. In the twentieth century, Igor Stravinsky wrote a three-act opera called The Rake’s Progress, his last neoclassical work.
Based on the Hogarth series, with a libretto by W. H. Auden and Chester Kaltman, the opera was first performed on September 11, 1951, in Venice.