Don Juan was described by a contemporary as "a school of Atheism." Tartuffe so stirred up the clergy that some clerics wanted the playwright burned as a heretic! Instead, he was excommunicated.
“I have found some astonishing answers to my questionings as to God and religion in [Flaubert’s] book,” wrote Tchaikovsky. Flaubert was an Atheist.