Oscar Wilde said this quote

There were moments when he looked on evil simply as a mode through which he could realize his conception of the beautiful.