%%Image selected per Image Pickin' thread: http://tvtropes.org/pmwiki/posts.php?discussion=1317495155061500000
%%Please do not change or remove without starting a new thread.
[[quoteright:349:[[Webcomic/LookingForGroup http://static.tvtropes.org/pmwiki/pub/images/LFG_DidWhatIHadToDo_1909.jpg]]]]

->''"I'm sorry if you don't like [[CompellingVoice my]] [[MindRape methods]], but I do [[TakeOverTheWorld what I have to do]]."''
-->--'''[[DarkMessiah Senna Wales]]''', ''[[Literature/{{Everworld}} Enter the Enchanted]]''

Sometimes good people have to do bad things because if they don't, worse things will happen. At its heart, this is a post-facto justification for [[NecessarilyEvil morally questionable]] [[ShootTheDog actions]] presented to those who would question the necessity or ''right''ness of said actions. Perhaps TheHero has [[SaveTheVillain saved the villain]], or [[HostageForMcGuffin surrendered the macguffin to save a hostage]], or abandoned innocents/friends to their fate [[SadisticChoice to save others]]. Or the NobleDemon has saved TheHero while [[IWasJustPassingThrough just passing through]]. Or the AntiHero has [[ShootTheDog shot the dog]]. Their comrades are baffled, stunned, and angered. They ask ''"WhatWereYouThinking"'', and exclaim ''"WhatTheHellHero"''

The questioned character turns to them and says just one thing: "I did what I had to do." And nothing else. Except possibly "AndItWorked".

The character may later be somewhat humanized by showing that he regards it as DirtyBusiness, or giving him BadDreams, or DrowningMySorrows, but he may not, and other shows of guilt, grief, or weakness are very unlikely. (Nastier sorts may express such sentiment only [[ItsAllAboutMe in the context of self-pity]]: their grief is that they were the ones who had to do such horrible things, or that no one else understands why it was necessary.)

This is also used sometimes as an explanation for LawfulNeutral or LawfulStupid actions. Compare WellIntentionedExtremist. Contrast ItSeemedLikeAGoodIdeaAtTheTime, which does the same as in this case, but for ChaoticNeutral or ChaoticStupid actions. Often a plays a part in the weight of TheChainsOfCommanding.
----
!!Examples:
[[index]]
* IDidWhatIHadToDo/{{Literature}}
* IDidWhatIHadToDo/LiveActionTV
* IDidWhatIHadToDo/VideoGames
[[/index]]

[[foldercontrol]]

[[folder: Anime and Manga ]]
* ''Manga/DeathNote'' has plenty of this trope, and from many characters too - Light above all, but also much from L, and a fair bit from Near, Mello and even Light's dad - although certainly not always sincerely so.
* Hughes Gouli from ''OvermanKingGainer'' belief in Exodus is so much that he states that he will do anything so that they can reach Yapan. During an attack that causes people's thoughts to be broadcast he reveals to Sara that [[spoiler:he killed Gainer's parents for being against exodus]].
* Neptune and Uranus from ''Bishoujo Senshi Manga/SailorMoon'' (seasons S, Stars and the [=SuperS=] TV special) consistently fail to learn from their mistakes and are willing to sacrifice lives - both innocent civilians and their own fellow soldiers - on the basis that the end (destroying the enemy) automatically justifies the means. Given that in the realm of Sailormoon, what consistently defeats the villains is the power of unconditional love and not ruthless strategy, their failure to adjust to her strategy (which actually WORKS) marks them out for the StupidSacrifice category. Also, see end of [=SailorStars=] for a classic example of this trope dovetailing with NiceJobBreakingItHero.
* [[spoiler:Itachi Uchiha]] from ''Manga/{{Naruto}}'' practically embodies this trope, though it's a long time before this is revealed. [[spoiler:He killed his entire clan, save Sasuke, to prevent a civil war that presumably would have resulted in even more death.]]
** [[spoiler: Then there is the guy who ordered him to do it, Danzo. Who turns out to actually be a badass in his own right, though he is on the "extremist" side of WellIntentionedExtremist. He does get to lecture Sasuke on betraying Itachi's will.]]
* Lelouch from ''Anime/CodeGeass'' when [[spoiler: he loses control of his Geass, and makes Euphemia kill the Japanese. He then proceeds to do what he has to do--and says as much--and kills Euphemia. Then later on he pretty much tells Suzaku that as well.]]
** There's also [[spoiler: Lelouch and Cornelia in the Geass Directorate.]] You don't take chances with those people. Even though what Lelouch and [[spoiler:Cornelia]] do is considered by most, if not all, of the people who have half an idea on what happened as disgusting, you simply don't want to risk that. [[spoiler: Cornelia gets away with it, though - Lelouch pays for it.]]
*** Though, rather ironically, none of those people who think that it was disgusting realixe that it was a [[spoiler: hive of Geass Users, who are Britannian assassins, who have done terrible things, murdering Shirley and a crucial role stopping the Black Rebellion amongst them. (Though that was entirely Rolo and V.V., the only ones with names.)]] They then [[spoiler: attempt to kill Lelouch]] using the same reasoning.
* More or less King's justification for having turned Demon Card into a criminal organization in ''RaveMaster''
* There is a ''lot'' of this from the [[WellIntentionedExtremist villains]] in ''Anime/TengenToppaGurrenLagann''. [[spoiler:Generally, it turns out that they didn't, although since the DistantFinale stops ''somewhat'' before the destruction of the universe, we're not quite sure about the last set.]]
* Anime/{{Windaria}} Alan's justification for [[spoiler: Flooding Lunaria to stop the war and save The Valley from being a warzone]]
* In ''SaintBeast'', Zeus considers killing the old gods as regrettable but necessary action.
* ''Manga/{{Bleach}}'':
** When Ichigo tries to confront Ukitake and Byakuya at Rukia's prison, Yoruichi intervenes and stabs her hand into Ichigo's wounds to insert a [[InstantSedation tranquilliser]] into his body so she can carry him away from the location as quickly as possible. When Ichigo comes round and demands to know why she did that and why she didn't try to save Rukia, Ganju or Hanatarou, she explains that she had to do it this way because Byakuya was too strong for Ichigo to fight and too fast for Yoruichi to be able to escape if carrying more than one person. She also knew [[FatherToHisMen Ukitake]] would protect the others from any consequences of being associated with Ichigo.
** Mayuri has a confrontation with Yamamoto over taking a very important decision without first consulting Yamamoto and his response is that he had to do what was necessary because the problem required an immediate response and couldn't afford to be tied up by CelestialBureaucracy. [[spoiler:The decision concerned was to kill twenty-eight thousand residents of Soul Society to stabilize the cosmic balance of souls that exist to prevent the universe from breaking.]]
** Katagiri was asked to keep a secret but felt forced to reveal it because she believed the secret would threaten the Ishida family's future. [[spoiler: The secret was that Masaki had saved a Shinigami but she'd spotted Masaki had a Hollow-tainted wound and acted based on Ryuuken's earlier statement to her that the future of the family depended on their bloodline remaining untainted.]]
* Ryo Narushima of ''Manga/{{Shamo}}'' uses this to justify killing his own parents (of all things!) in the first chapter of the manga. After that... well, let's just say he gets a little too used to this trope.
* In ''Anime/GirlsUndPanzer'', when Miho asks Maho about [[spoiler:shooting the German flag tank when it went to rescue one of Maho's teammates, she coldly says "...Miho. What I did was Nishizumi-style Panzerkraft. I gave the order to shoot."]] However, when she first hears about what she did, she seems shocked and almost hurt, and when her mother tells her it was a good decision, [[YourApprovalFillsMeWithShame she looks displeased]].
[[/folder]]

[[folder: Comic Books ]]
* In TheDCU, this is Amanda Waller's ''raison d'ętre''.
** Waller is odd in that she has a tendency to surround herself with idealists in an attempt to curb her pragmatic tendencies. When she (invariably) alienates these people, she REALLY starts to fall into this trope.
** In the {{Elseworlds}} story ''ComicBook/KingdomCome'', the U.N. Director invokes this trope when he gives the order to drop nukes on the big superhero brawl. "The only way to make certain future generations will know this was our only hope... is to ensure there will BE future generations." He is later shown in his office, looking rather regretful.
* MarvelComics's {{Cable}} might as well have this monogrammed on his towels as as often as he says it in his early appearances.
* Magog from ''KingdomCome'' uses this one too, which isn't surprising as he was inspired by Cable.
* WonderWoman ends up having to say this a lot after killing MindController Maxwell Lords (with the whole thing recorded and broadcast to boot), who was controlling Superman (and who could've killed everyone present in the time it took to come up with a better plan). The whole thing sets off the CrisisCrossover, InfiniteCrisis.
* This is {{Batman}}'s tacit justification for every time the Justice League finds out his plans to take them down should it be needed. Interesting because Batman helps undoing them anyway. He also encourages this state of mind in his protégés, especially Tim (among others, in [[BadFuture the form]] of a DangerousSixteenthBirthday worthy of the greatest [[ManipulativeBastard Manipulative Bastards]]).
* In ''TheLongHalloween'', Harvey Dent says that he did what needed to be done when he [[spoiler: kills Falcone]].
* [[spoiler:Ozymandias]] from ''Comicbook/{{Watchmen}}'' killed millions to save billions. [[spoiler:Possibly. The ending deliberately leaves it ambiguous as to whether his gambit ultimately succeeds. Regardless, he certainly ''believes'' his actions will save billions, at least until Dr. Manhattan leaves him with the words "Nothing ever ends, Adrian"]].
* ComicBook/{{Cyclops}} has spent the last decade giving up everything he believed in, from his own moral code to his own happiness and the relationship between himself and his friends, resulting in many supervillains and psychopaths being put down, causing him to be compared to Magneto, but all so he could keep the last of his kind from extinction.
** [[spoiler: He kinda succeeds after the events in Phoenix Five. Kinda.]]
[[/folder]]

[[folder:Fanfiction]]
* The North Korean Digidestined in most ''Franchise/{{Digimon}}'' fanfics end up in situations like these, as do China's Digidestined. Their governments force them into doing various horrifying things and the kids rationalize it with 'I did what I had to do, [[AndYourLittleDogToo because otherwise they'd kill my family']]. Since they're kids, this comes across as more desperate and terrified than villainous. Fandom's is fairly good about not [[UnfortunateImplications making them evil because their countries are]] - at least, fandom's good about that ''now''. There's some DeadFic from five or more years ago where they're straight up ForTheEvulz lunatics.
* This quote from the VillainProtagonist of the MassEffect fanfic The Council Era says all that is needed to be said. "I will pay for taking the low ground after I die, but there always has to be someone who is willing to make such a sacrifice, for the sake of something far greater than themselves. It's part of the order of things." Keep in mind that his "taking the low ground" was committing genocide. It is likely that in the second part of the storyline, when he's expected to decline further into ChaoticEvil, that he'll still try to use the "I Did What I Had To Do" card, even if his motivation becomes DespotismJustifiesTheMeans.
* This the reasoning of the BigBad in ''FanFic/TheManWithNoName'', as well as Zeke, the leader of a town plagued by Reavers when he blackmails the heroes into helping him.
* Of all people, [[{{Housewife}} Helen]] [[GoodParents Belden]] in ''TrixieBelden'' fanfic [[http://www.fanfiction.net/s/7963526/6/Ambiguous Ambiguous]]. She's not sure of the relationship between her son Mart and his friend Dan, both teenagers, but she recognizes that Mart has romantic feelings for him. Unwilling to suffer the repercussions of losing her family's good reputation by having a bisexual son, she deliberately drives Dan away, which might have lead to him allowing himself to be captured by criminals.
* ''Fanfic/AceCombatTheEquestrianWar'' has [[DarkIsEvil Black Star]] who, as told by Firefly via FlashBack, was ordered to prevent a possibly mutiny against the Griffin Kingdom. Believing that Firefly's parents would be behind it, he killed them. When the young filly asked him why he did, this is his reason.
** The kicker? The rumor of their involvement and the whole mutiny thing were [[spoiler: ''false'']].
* In ''[[PokeWars The Subsistence]]'' Ash has Pikachu use Thunder on a sinking ferry overrun by Sharpedo and Tentecruel. He regrets that he had to kill everyone on the ship but the Pokémon swarming the ship were too dangerous to leave alive.
** Hiiro in ''Fool's Paradise'' has his Ampharos unleash Thunder in a harbor filled with Tentacruel and their victims, killing everyone in the water so the boats in Olivine City can head out to sea. He calls his plan "a horrible, despicable, but ultimately necessary idea" and he explicitly states "You won't like it" to an Officer Jenny who asks him for a plan.
** Alex says this word for word to Katrina back on the caravan's encampment after rescuing her from a HostageSituation.
* ''FanFic/ThePowersOfHarmony'': This is the justification used by Libra [[spoiler: and his Echo Blair]] for breaking the taboo on the use of Lifeforce magic. [[spoiler: It was the only way to stop Nightmare Moon's undying army in the War of the Sun and Moon.]]
[[/folder]]

[[folder:Film]]
* This is Felicity Shagwell's excuse for sleeping with Fat Bastard in the second ''AustinPowers'' movie.
** Which turns Austin into a huge hypocrite, since he did the exact same thing with Alotta Fagina in the first movie, to Vanessa's dismay.
*** With Felicity, Austin's not so much bothered about the ethics as the ''[[{{squick}} physics]]''.
* Any Scifi horror movie where people who are infected by TheVirus have to be killed or risk having them turn on the uninfected cast. Closely related to most [[ZombieApocalypse zombie]] and werewolf movies. Contrast WhatHappenedToMommy.
** Inverted in the first Film/ResidentEvil movie. The infectee even receives the cure... and still turns into a zombie at THE WORST POSSIBLE MOMENT.
* Reversed in ''Film/{{Star Trek III|The Search for Spock}}'': watching the Enterprise explode, Kirk asks, "[[MyGodWhatHaveIDone What have I done?]]" to be told by [=McCoy=]: "What you had to do; what you always do: turn death into a fighting chance to live."
** When Sarek thanks him at the end, Kirk plays it straight: "What I did, I had to do."
* Another ''Star Trek'' example would be ''Film/{{Star Trek VI|The Undiscovered Country}}'' during the scene where [[TheSpock Spock]] [[MindRape mindmelds]] with [[spoiler: Valeris]] against her will.
* A light-hearted version in ''RunningScared'' (1986). The two cop heroes are in a hostage situation with a gunman who doesn't have any pants (long story). He orders them to take off their pants and give them to him so (a) he'll have a pair and (b) it will be harder for them to follow him. They do so. Later in the station house they're asked how they could give up their pants, and one of them says "We did what we had to do."
* Professor Xavier, in almost all mediums he's appeared in now, frequently uses this trope to justify some of his more morally questionable actions. Specifically, in ''Film/{{X-Men}} 3: The Last Stand'' he tells Wolverine he did what he had to do in suppressing Jean's powers and her violent Phoenix personality.
* In ''ThirtyDaysOfNight'', after [[spoiler: Eben has [[HeroicSacrifice turned himself into a vampire]] in order to fight off the vampires who've invaded the town]]
-->'''Stella:''' What did you do to yourself?\\
'''Eben:''' What I had to do.
* Played straight to the letter by [[spoiler: Ozymandias]] of ''Film/{{Watchmen}}'' who not only goes to [[TheChessmaster ridiculous lengths]] to dupe the world into think they're under attack (and killing millions in the process), he also [[spoiler: kills his beloved Bubastis in a vain attempt to kill Dr. Manhattan]].
** [[spoiler:"A world at peace. There had to be sacrifice."]]
* Featured prominently in the second of many speeches in ''Film/VForVendetta''.
-->'''Lewis Protero:''' We did what we had to do. Islington. Enfield. I was there, I saw it all. Immigrants, Muslims, homosexuals, terrorists. Disease-ridden degenerates. [[PlayingWithSyringes They had to go]].
* [[PlayedForLaughs In a more comical direction]], the entire premise of JohnWaters' ''SerialMom'' is a suburban woman who feels morally justified in offing people for [[spoiler:bad manners, not recycling and fashion faux pas, like Patricia Hearst's white shoes after Labor Day.]] Though funny, John Waters has stated that he feels very strongly about all these grievances (especially the last).
* ''{{Carriers}}''. In a world where there's an infectious virus that kills people, pretty much everyone is forced to kill people who are infected but not yet dead. On some occasions our 'heroes' kill some non-infected people when they refused to give up gas in their car. They needed this gas to survive.
* The Operative in ''Film/{{Serenity}}''.
-->'''Mal:''' I don't murder children.
-->'''The Operative:''' I do...if I have to.
* Royce from ''Film/{{Predators}}'' is willing to sacrifice his fellow humans and abandon the wounded in order to survive, and often invokes this trope when Isabelle [[WhatTheHellHero calls him out for it]].
* In ''TheBattleOfAlgiers'' Mathieu delivers a speech on this theme to the French press, justifying his use of torture in combating the Algerian insurgency.
-->'''Mathieu:''' Should France remain in Algeria? If your answer is "yes", then you must accept all the consequences.
* In ''Film/DrNo'', Film/JamesBond invokes the trope after he knifes a guard and Honey Ryder gives him the WhatTheHellHero? treatment.
* In the ''Film/TheDarkKnightRises'', this is done by Jim Gordon when he is called out by John Blake over hiding the Two-Face murders by blaming it on Batman. An interesting take, however, as this is suggested by Batman himself, he is never seen as a villain or a KnightTemplar, and since the audience has seen the exact decision process behind it, is does seem like the best idea at that point in time.
* In ''Dangerous Beauty'', this is Veronica Franco's justification for why she became a [[HighClassCallGirl courtesan]]: "I repent there was no other way open to me. I do not repent my life."
[[/folder]]

[[folder:Machinima]]
* ''Machinima/RedVsBlue'': The excuse of the Director of Project Freelancer for performing his morally ambiguous experiments.
* ''HalfLifeFullLifeConsequences'': John Freeman claims he [[RougeAnglesOfSatin "MUST DO WHAT HAS TOBE DONE"]],
** "its a good day to do what has to be done by me and help my brother to defeat the enemys!"
** The sequel is even subtitled "What Has Tobe Done."
[[/folder]]

[[folder:Music]]
* A few lyrics to "My Way" go as thus:
-->''I did what I had to do''
-->''And saw it through without exemption...''
[[/folder]]

[[folder: Tabletop Games ]]
* ''TabletopGame/{{Warhammer 40000}}''. All of it... at least the "good guys". The bad guys just [[EvilFeelsGood enjoy their work]]. The kicker? For the sake of surviving, they really DO have to do it.
** TabletopGame/{{Warhammer}} too. Burn down an entire village because of possible chaos taint? Had to be done. BurnTheWitch definitely had to be done. And this is just the humans, the other 'good guy' races are just as bad.
* ''{{Exalted}}'' from WhiteWolf Games has the Sidereal Exalted, who masterminded the Usurpation that overthrew and murdered the Solar Exalted rulers of the setting. The Solars of the First Age were rapidly becoming mad and wicked tyrants, and the Sidereals saw two options: a MillionToOneChance to save Creation by redeeming them, or a near-certain chance to [[MurderIsTheBestSolution solve the problem by killing them all]], [[AfterTheEnd destroy the magitech infrastructure of the First Age]] and save what they could of Creation. They chose the latter, and the Bronze Faction maintain that their actions were correct to this day and are still correct. Whether they're right is fuel for endless disagreement, {{Flame War}}s and {{Natter}}.
* ''DungeonsAndDragons'' had a version of this for [[LawfulGood PALADINS]] in the "Complete Scoundrel" 3.5e sourcebook: the [[http://www.wizards.com/default.asp?x=dnd/prc/20070320 Gray Guard]] PrestigeClass, which basically allows the paladin to violate the code of conduct for the class with a minimal penalty if he does so in pursuit of a greater good.
* There's a reason [[WerewolfTheForsaken the Forsaken]] are called such -- because they killed their father deity when they saw that he was getting weak and was unable to hunt down the [[EldritchAbomination spirit entities]] that threatened primordial Earth. As a result, they pretty much dashed Paradise to pieces, alienated their mother deity for millennia, and earned the undying enmity of their cousins, the Pure.
** The [[TabletopGame/HunterTheVigil Hunters]] say this a lot, too. Living in the World of Darkness and ''fighting'' the eponymous darkness not only requires cast-iron balls, but all too often demands a willingness to accept innocent casualties as inevitable in the name of fighting a greater evil.
* Urza in ''MagicTheGathering'' practically had this printed on a shirt. Let's put it this way: his plan to wreck the biomechanical hell of Phyrexia involved recruiting eight planeswalkers. One of said planeswalkers was a sociopathic murderer who Urza knew all along would try and kill the other planeswalkers; he let said murderer kill two, then hit the kill command for that murderer's powersuit and used his life energy to prime the bombs. While ranting about how everyone kept underestimating him, no less.
** [[spoiler: He did a lot more than that. Let's begin with the earlier years of his four thousand year life. He rose to power as a talented Artificer in Yotia. Soon he came into conflict with a neighboring desert nation led by his brother. The following war saw entire forests cut down for wood, seas poisoned, deserts burned to glass and the earth blackened. The Brothers' War devastated Terisaire and killed most of the continent's population, all to save those that did survive from his brother, who was even worse. In order to win his war, Urza used the sylex at Argoth, which was pretty much a magic nuke that changed the shape of Dominaria forever. After that the list gets even longer. He unintentionally lead the Phyrexians to Serra's realm, which was destroyed. He sacrificed friends as if they grew on trees, all in the name of revenge. In order to combat Phyrexia, Urza began a century long eugenics project to breed a savior that can defeat them. He built a school for mages only to abandon its students when the academy was trapped in time dilation. Here is a man who sacrifices friends and nations, a man to whom no price is too high to defeat Phyrexia and Yawgmoth. In the end, he even sacrificed himself to that end.]] All of this made his [[spoiler:betrayal of his own cause]] that much worse. After all of the terrible things he did to fight Phyrexia [[spoiler:he was seduced by its power and majesty and pledged himself to Yawgmoth at the moment of truth. He only got back on track after Gerrard chopped his head off.]]
* Firewall in ''EclipsePhase'' do what they have to do. This doesn't make it any easier on their operatives when they have to [[ShootTheDog shoot a child]] [[ThrownOutTheAirlock out of an airlock]] to keep him from infecting others with a [[TheVirus virus]] that's raw BodyHorror.
[[/folder]]

[[folder:Theatre]]
* Odysseus argues along these lines to Neoptolemus both for what they are about to do (abduct a man against his will), and for leaving said man stranded on the [[DesertedIsland island]] in the first place in ''Theatre/{{Philoctetes}}''.
[[/folder]]

[[folder:Webcomics]]
* Dr. Schlock from ''Webcomic/SluggyFreelance'' lives and breathes this trope, always betraying someone or another in order to keep a different someone or another from killing him. Reaches its peak in [[http://www.sluggy.com/daily.php?date=070928 this]] strip.
** Also in 4U City. [[spoiler: Alt-Riff agreed with him to the extent that he grew into his philosophy and methods.]]
* Said verbatim by Anakin in [[http://www.darthsanddroids.net/episodes/0108.html this episode]] of ''DarthsAndDroids'', after deliberately destroying Sebulba's pod (and possibly Sebulba) to win the pod race.
* Krunch's comment to Cale on [[http://www.lfgcomic.com/page/87 this page]] of ''LookingForGroup''.
** While the most poignant example in the comic, not the first. Played seriously and then for laughs [[http://www.lfgcomic.com/page/25 on this page]].
** Later Pella uses it after she [[spoiler:kills innocent gnomes to force the rest to evacuate from their fortress.]] This makes Cale unhappy because at that point she was the only member of his party he was sure ''would not'' use that excuse.
* In ''{{Harkovast}}'', Shogun views killing wounded, surrendering opponents as perfectly reasonable, and angrily defends this concept when questioned by the other characters.
* In ''Webcomic/NoRestForTheWicked'', [[http://www.forthewicked.net/archive/04-39.html when November wonders if there was another way, Red tells November that the woman was dead; she just killed the monster inhabiting her skin.]]
* [[http://www.awkwardzombie.com/index.php?comic=091012 Invoked]] by [[spoiler:Solaris]] in {{Aikonia}}.
* [[http://warofwinds.com/what-it-takes What it Takes]] shows this all too well, [[http://warofwinds.com/what-it-takes/?comic_id=43 here]] and [[http://warofwinds.com/what-it-takes/?comic_id=44 here]]
* Maxim 20 from ''SchlockMercenary'': If you're not willing to shell your own position, you're not willing to win.
[[/folder]]

[[folder:Web Original]]
* The 6th episode of the TVTropes original webseries ''WebVideo/EchoChamber'' has Tom claim that, when he dumped his [[PsychoExGirlfriend ex-girlfriend]], he was just doing what he had to do. [[spoiler: For once, it seems like [[{{Jerkass}} he]]'s [[AssholeVictim telling]] [[UnreliableNarrator the]] [[JerkassHasAPoint truth]].]]
* [[http://www.youtube.com/watch?v=vlDZqnxVZVg PreGame Lobby]] parodies this trope... With a giant blue duck.
* ''SurvivalOfTheFittest'' villain Bobby Jacks' entire justification for 'playing the game'. (The full statement being: 'I did what I had to do to survive')
* An ''extreme'' example: The Wiki/SCPFoundation's [[http://scp-wiki.wikidot.com/scp-231 SCP-231 project.]] Pregnant girl of undetermined age carrying what appears to be [[FetusTerrible some monster]] that, if birthed, will be TheEndOfTheWorldAsWeKnowIt. The only way to prevent the birth? [[spoiler: Procedure 110-Montauk, which (while never actually described ''what'' it entails), must be carried out once every 24 hours by 6 Class D Personnel who are also convicted sex offenders.]] Yes, it ''is'' as bad as you think. No, the girl cannot be put out of her misery. No, the girl cannot be drugged into amnesia or unconsciousness. She has to be fully awake for the procedure to work. Yes, it is just as horrifying a prospect as you could imagine.
* In [[http://wanderers-library.wikidot.com/big-red Big Red]], a story in TheWanderersLibrary a village offers children's hearts to a monster attacking them.
[[/folder]]

[[folder:Western Animation]]
* [[spoiler: Ra's Al Ghul]] says this line verbatim in ''WesternAnimation/BatmanBeyond''. Of course, [[spoiler:he HAD placed his mind into his daughter's body in order to cheat death.]]
** An alternate version of Batman from ''JusticeLeague'' uses five simple words as justification for an alternate Superman vapourising their version of Lex Luthor: "It had to be done." And then this act sets the heroes on a path to creating [[UtopiaJustifiesTheMeans a world without war, crime, poverty, suffering and most importantly, freedom]].
* ''KidsNextDoor'':
-->'''Number 1''': You do what you have to, and ''I'll'' do what ''I'' have to.
* In ''WesternAnimation/AvatarTheLastAirbender'', this is used by Zuko twice; once in his second fight against Zhao to justify [[spoiler:becoming the Blue Spirit and springing the avatar, thus rendering himself a traitor to his own nation]], and then again in season 3 to [[spoiler:Iroh as his excuse for his actions during the season 2 finale]]. It's pretty notable that while the first is said with utter conviction, the second time it's used it more or less fails to even convince Zuko himself.
* This was Ultra Magnus' justification for creating PersonOfMassDestruction Omega Supreme in ''TransformersAnimated'', showing that he was (and still is) willing to do nearly anything to end the war. Ratchet didn't agree.
** Ironically, Ratchet says the exact same thing later when Omega questions the point of war. Then again, Omega was on the verge of dying, and Ratchet probably wanted o make him feel good in what could have been his last moments.
* In the finale of ''WesternAnimation/BeastMachines'' Optimus, Rattrap, Cheetor and Botanica were barricaded inside Megatron's fortress while Megatron and his Vehicons were trying to get in, but were unable to as long as the shields were up. Stalemate. However, being separated from the soil meant Botanica (Rattrap's love interest) was losing her life energy. Rattrap opened a small hole in the shields in order to get Botanica out and back to the ground - which worked, but which Megatron immediately picked up on and used to destroy the base. Optimus and Cheetor flipped out at Rattrap, who used this as his justification.
** Optimus ended up dropping the issue while noting that the shields would have failed sooner or later after the initial flip out.
* Again, in TransformersPrime, Optimus says this when he finally realizes that the war will never end until he kills Megatron. Since it's Optimus, [[spoiler: he obviously doesn't go through with it. He get's interrupted when the literal Transformer Devil wakes up]]
* In one episode of Futurama a character says this to Fry after removing Bender's brain.
[[/folder]]

[[folder:Real Life]]
* RonaldReagan said, on the bombing of Libya in 1986, "Colonel Qadhafi is not only an enemy of the United States. His record of subversion and aggression against the neighboring States in Africa is well documented and well known. He has ordered the murder of fellow Libyans in countless countries. He has sanctioned acts of terror in Africa, Europe, and the Middle East, as well as the Western Hemisphere. Today we have done what we had to do. If necessary, we shall do it again."
** And in 2011, we made true on his promise.
*** Or, at least, helped.
* HarryTruman stood by his decision to use atomic bombs against Japan, saying "I knew what I was doing when I stopped the war... I have no regrets and, under the same circumstances, I would do it again." In private diaries, however, he expressed some regrets and uncertainty.
** Paul Tibbets, the pilot of ''Enola Gay'' that dropped the bomb on Hiroshima said in 2005 that "If you give me the same circumstances, I'd do it again". Crew members of ''Enola Gay'' and ''Bockscar'' (the plane that dropped the bomb on Nagasaki) said similar things, except Robert Lewis, co-pilot of the ''Enola Gay'', who had a MyGodWhatHaveIDone moment.
* This is actually the law whenever an aircraft of any stripe has an emergency. [[TheCaptain The commander of the craft]] is authorized to do what he has to do to minimize the harm and prevent catastrophe, and any property damage or deaths that happen as a result of this are legally just collateral damage.
* [[ThePrince Machiavelli]] wrote in ''ThePrince'' that a Prince should not let his morals impede the running of a state. (In most academic circles ''The Prince'' is regarded as a satire. He also wrote about how a Republic and its citizens would be called upon to do what was necessary for the good of the Republic in ''Discourse On Livy''.)
* As with pilots, firefighters will try to minimize damage but if they have to break things in order to do the greater good, they can and will without hesitation. Someone parked in front of a fire hydrant? You'll see a hose running through the busted-out windows. Can't get close enough to the side of a burning building because there's a car dealership lot with a row of brand new cars in the way? Get a nearby bulldozer to ''plow a path through the cars''.
* There are morality tests that function on the standards of action vs inaction. The first situation proposed is that there is a plane with 100 passengers on that is going to crash, but the test-taker can prevent it by pushing a button. The button will kill 10 people instead. Those who opt to push the button would fall under this trope. The second situation is similar, but now there is also a lever. The lever will also prevent the plane from crashing, and it will only kill one person: the test-taker. The answers are interesting, especially to the test-taker.
* EmperorAugustus used this as the rule by which he ran his entire life. One wonders if he ever [[BadDreams slept well at night]], but [[TheExtremistWasRight it's hard to say Rome didn't benefit]].
* The famous quote "We had to destroy the village in order to save it" from a commander in the Vietnam War.
[[/folder]]
----