Thomas Mann said this quote

This old, folkish layer survives in us all, and to speak as I really think, I do not consider religion the most adequate means of keeping it under lock and key. For that, literature alone avails, humanistic science, the ideal of the free and beautiful human being.