In the context of fiction, a hero is someone who acts with good intentions and has an overall positive effect on other people.
If the intentions are bad but the result is good, it's an anti-hero.
If the intentions are good but the result is bad, it's an anti-villain.
Naturally, people might...