I can imagine a person like Bernie thinking he is righteous, but not the she devil. There is no way she seriously believes she is a good person.
At the risk of violating Godwin's Law, Hitler sincerely believed he was making the world a better place.