The 100: In Season 2, Cage just wants to make the people of Mount Weather immune to radiation so they can leave their underground bunker and live on the surface again. To make an anti-radiation treatment, though, he has to harvest the bone marrow of the 47 Ark children, killing them in the process.
Clarke becomes one when she opposes Cage. She's certainly right to want to save her people from being slowly killed for their bone marrow. However, only about fifty of her people were being subjected to this fate; in order to save them, Clarke floods Mount Weather with radiation, killing hundreds, many of them children.
In season 3, it turns out Alie was the artificial intelligence who believed the best way to control population was to start a nuclear war.
Several villains, including Stephen Saunders, who threatens the US with a biological weapon to halt American globalism; President Logan in season 5, who sold nerve gas to Central Asian terrorists in order to frame them as an excuse for US intervention in Central Asia and gain oil from the area, and ordered the assassination of an ex-president to cover it up; and Tom Lennox in season 6, who seeks to inter thousands of American Muslims in the hopes of protecting the country from terrorism, and becomes involved in an assassination plot against the president when his proposals are declined. Though, in fairness, he was only pretending to go along with the assassination in order to uncover the conspirators.
From another perspective, this applies to the protagonists as well, especially Agent Jack I Did What I Had to Do Bauer. In later seasons, Jack flirts with a Heel Realization as he questions not only the efficacy and morality of his methods, but even whether his life is worth preserving.
Agents of S.H.I.E.L.D.: In the Season 3 finale, in the last moments before their inevitable death, Hive and Lincoln cease fighting, realizing there is no longer any point, and have a polite conversation where Hive laments that he only wanted to make the world a better place. Lincoln believes his claim is a sincere one, despite the two being enemies for half a season as well as all of the evil acts that Hive committed.
After she kills her new body to save the soul of a baby and is sent briefly to Hell, Caleb resurrects the spirit of his sister, Merlyn. Apparently, this brush with darkness changed her usually angelic personality into one that was vengeful, ruthless, and downright disturbing. Completely aside from the terrifying and/or bizarre moment when she briefly speaks with a deep, demonic voice, she declares war on Buck right in the middle of a church (a Crowning Moment of Awesome for a character who rarely gets any). And when Buck possesses Caleb and dares her to kill her own brother, she goes completely too far, deciding that since everyone in the town is either aiding Buck or looking the other way, they are all evil too...so she sends a plague to slaughter the town. And all of this while still wearing white!
Jasmine. She spends years manipulating Angel, Cordelia, and the rest of Angel Investigations so that she could be born on Earth and bring about a golden age. Of course, in the process, she killed several thousand innocents, conjured a rain of fire over LA, and unleashed Angelus once again. Not to mention that she eats people and her idea of a "golden age" is an Assimilation Plot that completely removes free will. Even so, Angel and co. are uncertain if they did a good thing or a bad thing by taking her out, especially when their arch-enemies, Wolfram & Hart, actually praise them for ending world peace.
Subverted with Holtz. He was an 18th century vampire hunter and had hunted a pre-soul Angel(us) long before the vampire had gained a soul, and after being brought to the 21st century, he sought revenge for Angelus' killing his family and many others he knew. While he certainly saw himself as the good guy, his past intentions as a vampire hunter were good, and had he succeeded, he probably would have gone back into the vampire hunting business (until Buffy killed him). In the present however, it's made crystal-clear that all he cares about is revenge; he disregards Angel's soul and is perfectly willing to commit acts just as monstrous as Angelus' in his war against Angel Investigations.
On the other hand, Angel and Holtz both agree that Angel is culpable for the actions of Angelus, and Angelus' crimes would warrant the death penalty in any jurisdiction that allows it many times over. Angel believes that he can atone for Angelus' crimes in life, Holtz believes he can only do so in death.
Angel himself becomes this in the Buffy Season 8 comic. Everything he did as Twilight was apparently to prevent anything like the Fall of Los Angeles from ever happening again.
Arrow: Season 1's Big Bad, Malcolm Merlyn/Dark Archer, decided that the only way to "save" the city was to destroy the crime-infested Glades, killing hundreds (if not more) in the belief that it will somehow improve things. Though it's entirely possible that that was just an excuse to justify his Disproportionate Retribution for the random murder of his wife in the Glades.
Season 4's Big Bad, Damien Dahrk, takes it Up to Eleven: his plan is called Genesis and it involves taking control of the world's entire nuclear arsenal to destroy it except for his own safe haven, because according to him, the whole world is beyond saving and needs to be reset.
Both the Vorlons and the Shadows are guiding the younger races to be better and stronger. If "some must be sacrificed", so be it. The fact that the two are permanently at war is the first sign that something's wrong here.
William Edgars, the chief executive of a pharmaceutical Mega Corp., is developing a virus that affects only telepaths (and is fatal to them), as well as its cure. He does this not For the Evulz, nor even out of a sense of Fantastic Racism, but because he knows a war with telepaths is inevitable and wants to give “mundanes” a fighting chance. He doesn't even like taking the steps he feels he has to take, and tries to lessen the suffering of those he's testing his drugs on as much as possible.
The Soul Hunters believe that souls perish after the death of the body, and that they perform a great service to the universe by capturing and preserving them in their soul spheres. Many other races—the Minbari especially—have a rather different opinion on the matter.
Alfred Bester wants to protect Human telepaths from persecution from the "mundanes". He doesn't care of anyone he has to kill or brainwash to do so, and he and other leaders of the Psi Corps are the reason why the war between human telepaths and mundanes is inevitable.
Battlestar Galactica (2003): Felix Gaeta launches a mutiny because he believes that Admiral Adama is too close to the Cylons. His worldview is understandable; his actions, especially the alliance with not-so-well-intentioned extremist Tom Zarek, not so much.
Tom Zarek sees himself as this, in universe. It's the perspective of other characters that show he's more of an ego-centric power seeker.
BIMA Satria Garuda: The villainous organization VUDO wants to bring life to the Parallel World they hail from, which would be a good goal in itself, the problem being they want to accomplish this by the invasion of Earth.
Boss: Mayor Tom Kane is an example of a Subverted Trope: he likes to think that the bad things he does serve the greater good of Chicago, but he has a lot of trouble differentiating between what's best for Chicago and what's best for Tom Kane.
In the Buffyverse, Watchers generally tend toward this. Both Rupert Giles and Wesley Wyndam-Pryce showed themselves willing to do whatever it takes to stop a greater threat. Made more effective because, initially, they tend to come off as befuddled librarians.
When Watchers behave this way, they're almost always actually right. Had Giles not killed Ben, for instance, Glory would have been back and possibly killed the entire cast (Plot Armor would have prevented it, but the characters aren't supposed to know that they have Plot Armor).
Also the Order of Byzantium from season 5. Their main goal was to destroy the key to stop Glory from using it and destroying the universe. Notably, in a later season Buffy admits to Giles that she would have let them do it if she knew then what she knows now.
The Mayor honestly thinks life under his rule post Ascension is for the best for everyone.
Severin plans to use the Time Travel powers he got from Illyria through Mega Manning to go back in time and stop the Twilight crisis from ever happening, thus stopping the rise of zompires and the end of magic. The problem is, doing so would cause an instability in space-time that would rip reality itself apart.
During Drusilla's brief bout of sanity circa Season 9, she uses a demon to remove mental trauma from anyone who asks; the downside is that they go insane as a result.
The General thinks that the Slayer Organization really is a threat to world peace.
What Genevieve thinks she is, planning to kill a "misguided" Buffy and install Slayers as leaders of a corrupt world.
Faith loads up on weapons after learning of a Back from the Dead, supposedly reformed Angel being in possession of a magical glove, scared of who he might kill. When she finds Giles had been attacked she immediately thinks 'Angel' and defies everyone in a bid to kill him. Then there was the time she and Angel discovered demon blood that could heal and even turn vampires back into humans. Because of how obsessed he was with making amends Faith intended to force it into him, and was just about to do so when she learned it would have done a lot more harm.
Whistler's plan to restore magic, as well as the Twilight arc, would have and will kill billions, but he legitimately believes it's the only way to save the rest of the world.
The last season of Burn Notice gave us James Kendrick. Kendrick is the antithesis of My Country, Right or Wrong; in his military days he refused an order to massacre a village and slit the throats of every member of the team that carried out the order in his team's place. When Michael is sent undercover to bring him down, Kendrick's first mission is to prevent MI-6 from protecting a monster and his second is to protect a good peacemaker from being assassinated by rebels of another nation.
Gideon, the Big Bad of season 6. He believed that Wyatt, born of a Charmed One and Whitelighter, was too powerful a being to remain good, and, after learnng about a future where Wyatt did indeed turn evil, was determined to prevent that from happening. What Gideon didn't realize, however, was that it was his pursuit of Wyatt for weeks in the Underworld is what caused the boy to turn evil eventually in that future. He solidified this status in allowing innocents to be killed to cover his tracks, and even personally killing his friend and confidant Sigmund when he left to expose Gideon's plans to the sisters. He was willing to go so far as to work with his Evil Mirror opposite, which just unbalanced the world even more.
The Avatars also qualify. Their intention was to create a perfect, peaceful utopia, but they were going to create it by means of basically brainwashing the entire human race to remove violent thoughts, and erasing from existence anyone who disturbed the peace.
There's also The Cleaners who were willing to go so far as erasing baby Wyatt from existence to keep magic from being exposed to the world. Of course, they're tasked with upholding The Masquerade, and will rewrite history to that end if they need to.
Cold Case had the oneshot character Iris Keening in the episode "WASP." In the present she's every bit the stereotypical kind elderly lady, but in her youth she was actually a tough-as-nails commanding officer in the Women's Air Service Pilots, among the first women ever to serve in the military. When one of her subordinates, Vivian Lynn, learned that another WASP pilot had been accidentally killed in what was supposed to be a prank by a male pilot and prepared to go to the General with it, Iris murdered Vivian, knowing that all doing that would accomplish would be getting women banned from flying. Sixty years later and she still doesn't have a shred of remorse, feeling that she basically singlehandedly saved the future of women in the military.
Criminal Minds: Villains tend to be insane, but several probably do fall into this category, like the one who, after growing up in a hellish foster home, thought it was better to kill children in their sleep than let them be put into the system.
Another one in a similar vein is a woman who has been mentally damaged since childhood due to molestation and rape, and her only coping method were her dolls and toys which were basically given to her by the offender as prizes for behaving. When he switches his attention to a new girl, which, due to his medical profession, he likely won't be noticed, the grown woman loses it and begins kidnapping adult women in order to try and paralyze them and turn them into living dolls. When she's caught, she willingly gives up when presented with her dolls, and her offender is busted by the crew who reveal they have plenty of evidence, allowing the crew to both save the victims of the killer who is heavily misunderstood, and arrest the man who caused this whole disaster to start with because he's a pedophile.
The Sisters of Plenitude, from "New Earth". They're curing patients of their hospital quickly and efficiently... by way of horribly infected cloned humans with every known disease in the galaxy. The episode plays with this a little, as some of the sisters callously execute the clones who began thinking and feeling, and one seems more concerned with the Sister's reputation after the clones escape, carrying disease with them.
The Judoon. In "Smith and Jones", they're trying to stop a sociopathic killer. They do this by transporting an entire hospital and everyone inside it to the Moon. Ultimately, they return it as planned, but it's still an incredible risk to take with the lives of probably hundreds of innocent bystanders. The episode Turn Left reveals that, if the Doctor hadn't intervened, everybody but one man in that hospital (including Martha) would have suffocated. Similarly, the book Judgement of the Judoon opens with them forcing their way into a spaceship by driving an access tunnel through the hull, in order to ask the occupants about the Invisible Assassin. On discovering that they don't know anything, the Judoon leave...and don't think twice about retracting the access tunnel to leave a gaping hole.
Operation Golden Age in Invasion of the Dinosaurs. Desperate to save the planet, people mean to move back time and Ret Gone everyone save their chosen few.
The Doctor himself has always been this. Colin Baker, the Sixth Doctor, once said that the Doctor believes in "the rightness of things. It doesn't have to be beautiful, or happy, but right; it's got to be right. And when he sees something that isn't right, he's compelled to do something about it." Most of the time, it works out in his favor, but since the end of the Time War, he's become much more reckless, leading to several My God, What Have I Done? moments throughout the New Series.
The Sisterhood of Karn from The Night of the Doctor manipulate the Doctor into becoming something anathema to his nature using the death of Cass to push him past the Despair Event Horizon, but are doing so only out of sheer desperation to end the carnage of the Time War and save the universe from both the Daleks and the Time Lords. Since the audience never finds out why Cass' ship ran into trouble so close to Karn, one interpretation is that the Sisterhood intentionally caused the crash in the first place, as a means to lure the Doctor to them.
In Remembrance of the Daleks, the difference between George Ratcliffe and Mike Smith (the two named human racist fascists in the story) is that Ratcliffe was only after power, while Mike Smith had been led astray from his youth and genuinely believed the Association was acting in Britain's best interests. With Ratcliffe's pedestal broken, he might have learned better in time had he not been electrocuted Sith-style by the Daleks' young slave.
It could be argued that the Church of the Papal Mainframe in the 51st/52nd century is composed of these. Bishop Octavian would be a good example.
And by their own lights, the Order of the Silence is probably this. It's revealed they were trying to prevent another Time War happening by the Time Lords returning while an army of monsters is waiting round Trenzalore.
Subverted in "Genesis of the Daleks" with Davros, who at first appears to be this (he claims to the other Kaleds that he was trying to prolong the survival of his race through changing them to a form more suitable for surviving in a nuclear apocalypse, and everyone seems to treat him with respect). When the Doctor attempts to morally reason with him towards the end of the story in the hope that he'll realise how dangerous the Daleks are and see some sense, it soon becomes apparent that Davros is, in fact, a completely delusional Omnicidal Maniac who knows exactly how terrible the Daleks are and is going to do it anyway to set himself up above the gods.
The Series 9 finale three-parter reveals that the Final Boss, the Time Lords (led by Rassilon), are desperate to figure out a prophecy about The Hybrid, which is supposedly a half-Time Lord half-Dalek warrior that may be the universe's ruin. To accomplish this, they arrange for the Doctor to be imprisoned and sadistically tortured until he tells them everything he knows. Alas, on the way to that Clara Oswald is Killed Off For Real in a Senseless Sacrifice, which combined with the torture does a number on the Doctor's sanity. All he really wants once he's escaped and confronted his enemies is to have her back and give her a nice safe life...but that requires him to become The Unfettered and violate a fixed point in time, threatening the entirety of space and time. He is convinced to return to his best self, but it means giving up his Tragic Dream (and more besides).
Boyd from Joss Whedon's show truly believes that extracting Echo's spinal fluid to make a vaccine against imprinting is the only way to stop the apocalypse from being total. He wants to use the technology that Topher developed, which he says cannot be unmade, to destroy civilization before anyone else does, and protect those he considers worthy.
Echo's original personality, Caroline, from "Getting Closer", is another example. In her past life, she becomes a much harder, colder person after years of hiding under the radar of the Rossum Corporation, trying to bring it to justice for its crimes and the death of her boyfriend, Leo. Dewitt says, "She's not evil. She's worse. She's an idealist."
Scorpius will coerce, extort, torture, mind rape, murder, wage galactic war, and threaten to cause the mass extinction of the entire human race in his quest to destroy the vile Scarrans.
For that matter, the Scarran Emperor Staleek was similarly driven to safeguard and advance his people, and sought wormhole technology from Crichton for the same reason as Scorpius - to save lives in the coming conflict. He also felt that the Scarrans were viewed as brutish and ignorant by the other races, and that no-one would trust them to maintain peace or negotiate with the same civility as other races, and so brutal conquest was seen as the only way to preserve his race; when given the opportunity to talk and settle, he was able to overcome a hostile reaction, albeit with much effort.
Fringe: Walternate seems to fall into this category. Yes, he wants to destroy our universe, but for all he knows there isn't any other way to save his. He thinks the two universes are at war. True, he is openly malevolent towards Olivia while she is trapped on the other side, along with anyone that helps her and is quite ruthless, but he occasionally has higher moral standards than Walter. Most obviously displayed when he flat-out rejects his top scientist's idea to text cortexiphan on children, an idea that Walter developed and executed far before the conflict between the universes began. Though it was later revealed that Walter only did that in an attempt to find a safe way to cross to the other universe and return Peter home.
Mr. Linderman, who believes that killing 0.07% of the world's population to end violence and war is an "acceptable loss by anyone's count".
Linderman's goals are an homage to Watchmen, which also used this trope. Specifically, Ozymandias's plan to stop impending nuclear war by faking an alien invasion, even though the plan would wipe out half of New York City's populous.
Adam Monroe also counts, as after 400 years of seeing mankind's hatred, bigotry, ignorance, and warlike nature, he's decided that the best way to save the world is to wipe out most of humanity with a virus and start over with the "worthy" survivors. Again, a clear homage of sorts to Ras Al Ghul/Apocalypse, as, like them, Adam genuinely wants to help people, he's just become so warped and crazy due to his long life and powers that he feels that he's got the right to play god.
And, for the hat trick, "The Hunter", aka Emile Danko: a cold hearted son of a bitch who nevertheless sees himself as in the right, as he feels that the evolved humans are too dangerous to exist. And, given people like Linderman, Arthur, Adam, Sylar, Maury, Candice, Doyle, Flint, and the various others who've appeared in the show and in the graphic novels, it's easy to see how he arrived at this misguided viewpoint.
Both Angela, who started The Company to protect her people, and Nathan, who started the whole "round up evolved humans" program but, of course, he made exemptions for himself, his mother Angela, and his daughter, Claire - all of whom are evolved humans.
HRG, who worked for both the aforementioned Company (see above), which captured people with special abilities, and with Nathan, who later started a government initiative with a near identical agenda but with the goal of "curing" people of their abilities. Like Nathan, he protects their super-powered daughter, Claire, from this government initiative and before that, hid her from The Company when she started manifesting her powers.
What about Samuel and Claire? Samuel wants to make The Reveal at the cost of normal human life and even at the cost of some specials in order to inspire non-specials into fear so that the special can use this intimidation to live freely in the acknowledgement of their power...While Claire makes The Reveal once Samuel's nasty ways are avoided with no consideration whatsoever whether it would actually be better overall...It's an improvement so far as no more effort will be made to hide their powers. Indeed, she even acknowledges what her father said, "People won't change."
Daenerys Targaryen of Game of Thrones comes across as this. She sees The Iron Throne as belonging to her father and takes command of a barbarian tribe who Rape, Pillage, and Burn with the words, "I swear to you those who would harm you will die screaming." She uses the tribe as well as dragons to free slaves and ally them into her army. Anyone she does not like she kills and takes over. And she intends to not just shift rule to herself, but seeing the other kingdoms as horrible seeks war with them, and has the power and the will to destroy them.
Yggdrasil is seen as this post-episode 19, as they are trying to prevent the Helheim Forest from over taking the world. The following episodes go on to reveal the lengths they're willing to go to to stop this from happening (which goes up to and including the worst-case-scenario of making transformation trinkets to ensure the survival of a billion people then killing off the other six) but soon after it's revealed that no one is actually well-intentioned. A good chunk of Yggdrasil don't care about the ends (their own goals are more important) and the only one who does care is deeply upset with the means and latches onto a more optimistic option the first chance he gets... which gets him overthrown by the former.
After Yggdrasil's done and over with, along with a group of people who control Helheim Forest, a victim of their extremism steps in and declares his vow to destroy the world. When Kouta confronts him in the final battle, he points out that his experience taught him that the strong hurt the weak because they lost their compassion in the process of being strong. His conclusion? Kill all of humanity and replace it with his own kind of race, one that wouldn't trade compassion for strength. Kouta knows where he's coming from, but believes he's going about it the wrong way.
The Last Train: It's possible to include Harriet who is so obsessed with reaching Ark, where the nation's top scientists have been stored as human popsicles, that she frequently goes to unnecessary extremes such as sabotaging any attempt by the other survivors to settle down and start anew by poisoning their water supply to pushing the cart with all their gear and supplies off a cliff because it was slowing them down.
Law & Order: These characters turn up in the franchise all the time.
Level Headed: This show is an example of this trope. A little boy is so fed up by people littering at his school that he writes a report about it...before going on a murderous rampage, killing all the children and teachers, as well as a puppy that he sees taking a dump in the hallway. (It's interesting to note that this show was banned from viewing after the 2006 Cosboy Brothers school killing spree, due to a scene in the show that almost mirrored an incident from the real life spree almost word to word. A lawsuit was filed over the show for "Promoting the killing".)
The Others believe that they are the good guys, but most of their actions point to quite the contrary:
Michael: Who are you people?
"Henry Gale": We're the good guys, Michael.
Their main goal is to protect The Island at all costs. They follow Jacob, but due to limited contact with him, and Ben's tendency to do his own thing, they end up attempting to kill the survivors on several occasions when their true goal should be to keep them (the candidates at least) safe.
Medium: Allison's stalker, who thinks that her psychic powers are interfering with God's plans by saving people who are supposed to die and catching people who are supposed to be free. Allison tries to reason with him by suggesting that her powers are God's plan too, to no avail. The "Well-Intentioned" part is lessened a little when you consider how vicious he is not only towards Allison but also her children (there's also the fact that he's the Invisible Man from The League of Extraordinary Gentlemen movie). Deus ex Machina steps in after the now-dead stalker reveals that he's been interfering with her and other psychics' visions, resulting in the deaths of dozens of people whose very pissed-off spirits drag him to Hell.
Uther actually believes that magic is evil and is destroying his kingdom.
As of the third series - Morgana and Morgause. They believe that Uther is evil and should be killed/removed from his throne due to his treatment of magic-users, something that a lot of viewers can get behind, but the way they go about it is...violent.
Missing 2012: Rebecca Winstone. Seriously, you don't want to mess with her. She'll literally KILL you if you prevent her from finding her son! That's more in line with the Knight Templar Parent since W.I.E.s tend to try and see a bigger picture, but whatever.
Mystery Diners, a show that features restaurant owners or managers calling in a surveillance team to detect problems in their restaurant, occasionally has this as the issue in question, such as with a manager that used to be a drill sergeant; the problem is resolved rather easily in the end.
NCIS: Had the daughter of the ambassador of a Middle Eastern country who was willing to fake her own kidnapping in order to prevent her father from signing a weapons deal with the U.S.. It initially seemed like she was also in on the terrorist plot to murder her father as well, although it was later made apparent that she neither planned nor intended it. Her professor, who she wasn't even aware was in on the plot to murder her father until after the faked kidnapping became the real deal, and her other co-conspirator who became greedy were the real culprits.
The North And The South: Virgilia Hazard is an abolitionist who can't tolerate slavery or those who condone it, but she comes off as an antagonist because her actions are so extreme that several characters question her life's decisions, wondering if she'd made them to spite others or to further her cause. For example, her family wonders if she married a black man because she was in love with him or if she did it because it wasn't socially-acceptable. Her hatred and extremism ends up getting her husband killed and dominates her life, although later in the series, she's able to control herself enough to provide fair treatment to wounded Southerners.
The Onion: Former prosecutor Shelby Cross of the Onion News Network takes the pursuit of justice to ludicrous and often criminal extremes. Her crusades include rounding up trick-or-treaters in her basement to protect them from pedophiles and encouraging viewers to throw suspected criminals into homemade "justice sheds". She also changes identities every three years to prevent them from being stolen, and considering that one of those identities was a patient in a psychiatric hospital...
The best example from OZ would be Kareem Said. He blew up a white-owned business in a black neighborhood as a protest against racism. During the course of the series, he slides back and forth between this and It's All About Me, as some of his crusades seem less about ending the racism than highlighting it (to the detriment of those he's trying to help).
A number of the inmates claim to be this, but are really just interested in themselves. Adebisi, Schillinger, and Kirk are probably the best examples. Governor Devlin is the same, pretending to care about saving money for the state and the well being of the prisoners but really just wanting to get re-elected.
Despite their intense antipathy towards each other, both Tim McManus and Martin Querns are this in different ways. McManus is willing to put up with disrespect and extra freedom to try and change the inmates for the better. Querns is willing to put up with drug use, anarchy, and racism in exchange for zero violence.
The Empress Dowager (Lao Fo Ye) in Princess Returning Pearl basically just wants order and propriety to be kept to a strict standard in her court. She also doesn’t want her grandson to marry a girl she perceives as an uneducated nobody, even if it is true love. She is harsh to Xiao Yan Zi and Zi Wei, peaking at her Kick the Dog moment when she tortured Zi Wei to the point where she almost died, but that was because she believed Zi Wei was trying to get the emperor killed. Order Han Xiang to commit suicide was even more justified since Han Xiang did basically intentionally physically hurt the emperor, which was, by the standard of the time, a big no-no. Ultimately she has no personal malicious agenda, having already risen as far as she possibly could in the court.
Ken 'Hutch' Hutchinson in "Soul Train". You can sympathize with his intentions to fight the militia, but not with his methods of blowing them up along with civilians who were in the wrong place at the wrong time.
In "Ghosts", it turns out that Randall lost his son in Afghanistan a year before the blackout, leading him to convince the rest of the DoD to go forth and use the Mathesons' power-suppressing invention to put an end to the war.
"The Dark Tower" ends with the power being turned back on, and Randall Flynn uses the opportunity to launch Intercontinental Ballistic at Philadelphia and Georgia. He declares that a new nation can only emerge from the ashes of the old, that he is a patriot, and then shoots himself in the head. It turns out that he's working for the President of the United States, who heads the American government in Guantanamo Bay, Cuba, and they intend to return to the USA and retake what's theirs.
Salem: Cotton Mather, arguably. He's brutal and overzealous in his effort to hunt down witches, but they do exist, while everything he says about them appears to be true. However, he's also being tricked by them into condemning innocents. For what it's worth, his partnership with John Alden is starting to point him in the right direction.
Cotton's father Increase is even worse. Though he has a better intuition than his son, he's also much more ruthless. His attitude seems to be "Kill everyone accused of witchcraft, and God will judge who's guilty or innocent."
The Shadow Line: Has Counterpoint, a well intentioned Government Conspiracy. They're profiting from drug trafficking, but that profit is being used to fund police pensions rather than for personal gain.
Lex Luthor's main drive starts out as "protecting mankind from aliens and meteor freaks". Yes, Clark and Chloe are probably on those two hitlists respectively, and you know where he ended up.
Lana Lang around season five to seven (it is not made too clear) in her mission to get revenge on Lex. Chloe slams her for it. What the Hell, Hero? doesn't seem bad enough to cover it.
Tess Mercer wants to save the world. Unfortunately, the only way she can think to go about it is to team up with alien leader Zod, effectively betraying her entire race and throwing the world into hell. Nice.
It's a common Villain motive that even the heroes are not immune to, especially on Deep Space Nine, with Sisko's actions in "For the Uniform" and "In the Pale Moonlight" (the latter has Sisko stating that the anonymous quote formerly at the top of the page was something his father used to say), as well as everything Luther Sloan and Section 31 do.
Unusual in that the actions of Sisko during "In the Pale Moonlight" are likely a large part of what won the Dominion War, and the actions of Section 31 allowed it to end MUCH sooner, saving billions of lives. The episodes hit hard because, to protect the Federation and its people, they had to do things that they find abhorrent.
Lampshaded and played with in "For the Uniform" because Sisko chooses to deliberately invoke the trope in order to force Eddington, himself a Well-Intentioned Extremist, to surrender.
The Borg have shades of this too. At the most basic level their intentions are good: they want to bring order to chaos and improve the quality of life of all sentient beings. How they choose to go about it, however, is by forcibly attempting to assimilate everyone they meet into their Hive Mind, which puts them in conflict with the Individualist, Freedom-loving Federation. In fact, individuality and free will seem to be completely alien concepts to them; they genuinely don't understand why someone wouldn't want to be assimilated.
Garak in Star Trek: Deep Space Nine does have standards. He is also quite utterly unapologetic about the rather horrifying things he has done (and does). Given who his father is (Enabran Tain, the head of the Obsidian Order, as paranoid as they come), it's perfectly understandable.
The Changelings built the Dominion and invaded the Alpha Quadrant because it was the only way they could impose their idea of true "order" on the Galaxy. Besides their continuing overreaction to ancient xenophobia and prejudice against them.
Vampire hunter Gordon Walker can be considered this: he kills monsters but generally does not care if innocents get caught in the crossfire.
Sam Winchester had a few shades of it too in seasons 3 and 4 where he was reluctantly willing to sacrifice one for the good of the many.
In season 6, the Big Bad of the season, to whom both Crowley and Eve played Disc One Final Boss, is revealed to be Castiel. To put Heaven on the right track by defeating Raphael to keep the Apocalypse from being restarted, he has decided anything is acceptable - in this case, allying with Crowley and opening Purgatory, the afterlife From Whence Monsters Come. The Winchester boys do their best to stop their Face Heel Turned ally throughout the final episodes of the season. He continues to plead for them to accept him and his choices up until he decides he doesn't care anymore and kills his angel allies, distracts his human allies by breaking Sam's mind, and betrays Crowley to take all the souls' power for himself.
On Timeless Flynn lost his wife and daughter when he stumbled onto a mention of Rittenhouse, an organization that has been pulling the strings on the United States since before the Revolutionary War. Flynn decides that he has to destroy Rittenhouse to save his family and the only way to do it is to basically alter all American history. He's openly called out on his "scorched Earth" tactics but still thinks he's in the right.
Terror Alert: This British drama series takes this trope to the extreme, building the entire plot around it. The show is about a group of terrorist that only ever targets music related companies. Their attacks include flying a plane into a record producers building, killing a 20,000 or so people inside, going into a music store and massacring every single person inside, and killing multiple pop stars. At the end of the series, when the main protagonists finally manage to arrest the men involved, the reason that they give for their attacks leaves the cops speechless...
"We did it because the music industry is an evil corruptive hell hole that is destroy the public!"
Total Recall 2070: A spokesman for human labor sabotages an android so that several humans are killed in an industrial accident to force the employer to remove all the androids. When he's confronted by the police, he asserts that he's trying to protect humanity from android encroachment. He swallows a Cyanide Pill, ironically dying in the arms of Farve, a Ridiculously Human Robot.
Frank Sobotka is a classic Well-Intentioned Extremist. Frank's a Working-Class Hero who has spent his entire adult life working in the Baltimore docks, as it's hinted his family has for generations before. And for 30 years, he's seen the docks slowly dying off as the city goes further downhill, as politicians steal from and neglect the workers and the various criminal empires drive people and business away. In desperation to see the people he's worked with for decades have some sort of future and see future generations of Sobotkas be able to make a living working the docks, Frank makes a deal with international criminal mastermind "The Greek" where Frank and the other dock workers will ensure that The Greek's shipments of drugs, prostitutes and stolen goods are safely smuggled through the dock and past customs. With the money earned from doing this, Sobotka doesn't enrich himself, but instead frantically lobbies the city and state politicians into rebuilding and revitalizing the docks, which would not only give new hope to the people working the docks, but would do the city of Baltimore itself a lot of good. As Frank says of himself as the whole plan is falling apart under police investigation and shortly before The Greek has him murdered:
I know I was wrong. But in my head, I thought I was wrong for the right reasons.
In the fifth season, Detectives McNulty and Freamon go Jumping Off the Slippery Slope to catch Marlo Stanfield, the most ruthless and murder happy drug kingpin that Baltimore has ever known, who has dozens of murders tied his ambition to rule the entire Baltimore underworld. In the process of hunting Marlo they are forced by circumstances to take actions including falsifying the existence of Serial Killer, altering crime scenes and innocent deaths to make it look like the "killer's" work, kidnapping a barely functional and helpless homeless man to make him look like one of the "killer's" victims, using an illegal wiretap, committing fraud within their own police department, all of which inadvertently also gets in the way of other investigations. McNulty in particular is hit with this, since he's the one actually doing most of the dirty work and his behavior spirals into a self-destructive course. He finally gets hit with a Heel Realization at the end of the season, when he tries to explain and justify his actions to someone who wasn't involved and finds that even he no longer thinks he was in the right.
McNulty: You start to tell a story, you think you're the hero. And then when you get done talking...