Someone is part of a group they hate. They've got a bone to pick with people just like them, to the point of wanting to kill them all. But if they hate that group so much, why don't they off themselves? Turns out that they DO, but don't want to die knowing the people they hate are still alive. So they keep themselves alive long enough to do, then finish with themselves.
Unsurprisingly this kind of character is Not Afraid to Die and may not even mind dying before by someone else's hand in an elaborate example of Suicide by Cop. They might literally be unable to terminate themselves until then. It might even be some form of atonement and/or revenge on their part; they take down a group they were once part of, then end themselves.
Might be why a Death Seeker who's completely mortal doesn't end their lives, beyond feeling Suicide Is Shameful or wanting to go down in a blaze of glory. The Hunter of Their Own Kind, genocidal Boomerang Bigot and Omnicidal Maniac likely has this "retirement plan" in place once they've wiped out their own group/race/everyone, though could they just as well believe they should stick around even if it's only because It's All About Me. Overlaps with Genocide from the Inside and No Place for Me There. Sub-trope of Murder-Suicide. It can overlap with Suicide Attack if they're trying to kill mass amounts of people with an attack that also kills them.
- In The Boys, all superpowers come as a result of exposure to a Super Serum called Compound V. While most members of the CIA sponsored group "The Boys" believe their groups exists to curb the worst offenses of the all too often immoral or amoral superpowered "heroes" the secret goal of their leader Billy Butcher is to eliminate everyone who has ever been exposed to Compound V, including in the end the Boys themselves and Butcher, since they've all taken it in order to be able to stand up the the supers in a fight.
- The Punisher Kills the Marvel Universe: In a What If? where Frank Castle's family was killed in a superhero battle instead of the result of organized crime, he decides to go on a murdering spree to eliminate every superhero and supervillain. Being one himself, he ends the comic by killing himself.
- Sin City: While he doesn't plan on it at first, Hartigan realizes that he has to die after killing Senator Roark's son (responsible for framing him and sending him to prison for eight years) to protect Nancy, since he's the only one who knows who she is (and his heart condition means he probably wouldn't have lasted much longer). He aims his gun so an old man dies, and a young girl lives.
- In Serenity, the Operative implies that once he's killed enough people to help the Alliance make their "better world", he will kill himself.Mal: So me and mine gotta lay down and die... so you can live in your better world?Operative: I'm not going to live there. There's no place for me there, any more than there is for you. Malcolm... I'm a monster. What I do is evil.
- Terminator 2 Judgement Day: The reprogrammed T-800 sent to protect John Connor eventually agrees to work with him to stop SKYNET's creation and eliminate the T-1000 chasing after them. Once that's done, he makes his intentions clear to destroy himself so he can't be used to create SKYNET like the last Terminator was, though needs the Connor's help to do so because he cannot self-terminate.
- And Then There Were None has the final victim be the Hanging Judge that decided to go on one last roaring rampage and kill all the criminals he had brought to his island home before committing suicide and make it look like the work of a murderer, which would never be caught. The killer had cancer, so he was only accelerating the inevitable for himself
- Champions adventure The Blood and Dr. McQuark: The Blood sorceror Vyss is sent to Earth to track down and kill the Blood who have escaped to there. If he ever succeeds in his mission, he will commit suicide.
- Balthazar from Baldur's Gate II: Throne of Bhaal is one of the Bhaalspawn, who sees their common ancestry (being descended from the late God of Murder) as inherently evil and plans to get the world rid of it. To this end, he, like most other Bhaalspawn, hunts and destroys his half-siblings in order to be the only one left to inherit their father's powers, but unlike everyone else, he plans to kill himself as soon as he succeeds.
- In Drakengard 3, the five Intoners are worshiped as goddesses by the common folk but the Player Character Zero, as their progenitor (by way of ancient magic), knows that both they and herself are pawns of a world-ending Eldritch Abomination. So she sets out to kill all of them, before committing suicide-by-dragon to prevent the apocalypse.
- In Sonic Adventure, E102-Gamma, one of Eggman's most powerful robots, has a change of heart and decides to destroy the rest of the E-series robots in order to free the animals trapped inside them. After destroying the rest of them, he willingly allows himself to be destroyed.
- The Dark Everett from Cura Te Ipsum, believing himself too dangerous to be allowed to live, hops from universe to universe killing alternate versions of himself. He almost killed himself before finishing the job.
- Othar Tryggvassen, Gentleman Adventurer from Girl Genius hates sparks and wants to kill them all, including himself.