Arthur Schopenhauer said this quote

Let us see rather that like Janus—or better, like Yama, the Brahmin god of death—religion has two faces, one very friendly, one very gloomy...