There is no doubt that religion had already waned under the onslaught of the Enlightenment but it was Freud who provided the radically new understanding of human nature that made any religious explanation of the whats and whys of our personhood seem naive.
Art produces ugly things which frequently become more beautiful with time. Fashion on the other hand produces beautiful things which always become ugly with time.