The Picture of Dorian Gray (1945)
Lord Wotton then invites Gray to accompany him to a performance of the opera, Don Giovanni; a character whose story serves as an understated foundation of this story. In the opera, Giovanni pursues pleasure in a way advocated by Wotton and adopted by Gray. Despite Gray's decision to abandon that lifestyle and make things right, circumstances have made this impossible and, as with Giovanni, Gray's actions ultimately catch up with him.
This also parallels the life of Oscar Wilde, the author of The Picture of Dorian Gray, who in real life seemed to be an amalgam of Wotton and Gray. Wilde's pleasure-seeking lifestyle ran afoul of the social norms of the day, resulting in his imprisonment, decline, and ultimately to his death.