William Hazlitt said this quote

There is a heroism in crime as well as in virtue. Vice and infamy have their altars and their religion.