Generally, moviegoers and TV viewers are force fed a protagonist that they're supposed to root for no matter what, even if some of the things said protagonist does are objectively terrible. In fact, there are a ton of supposedly good characters who don't deserve a happy ending in movies or TV. While movies where the loveable idiot doesn't get the girl exist, there are far more shows and movies that end happily even when they shouldn't.
It's not always about love. Sometimes, the heroes of the stories commit crimes for which they aren't punished at all. Sometimes, they're jerks who inexplicably get to keep their friends and family regardless of their heartless behavior.
Here's a list of characters who don't deserve their happy endings.
National Lampoon's Animal House is actually full of bad people. Pretty much every member of the Delta Tau Chi fraternity is terrible. Throughout the film, the brothers treat women as sex objects (one almost date rapes a 13-year-old), kill a horse, and nearly kill dozens of people when they intentionally drive a vehicle through a parade.
Despite all of this moronic behavior, the members of the Delta house go on to have great careers, including head idiot, Bluto, who becomes a Senator. Given the actions of the Deltas in the climactic scene, they all should be tried for attempted murder but frat boys tend to get away with a lot.
Also Rankedsee more on John "Bluto" Blutarsky
Angel Clare Is Kind Of A Monster In Tess Of The D'Urbervilles
Tess of the d'Urbervilles is a late 19th century drama that's been adapted a number of times, with one of the most recent being a four-hour BBC special starring Eddie Redmayne. In it, Tess Durbeyfield meets Angel Clare and the two fall for each other. However, when Tess reveals that she once had a child out of wedlock (a result of a heavily implied rape, in fact), Angel is disgusted that she's engaged in premarital sex, something which he has also done.
Later, Tess murders the man who raped her, and before she's hanged, she tells Angel to marry her sister. He agrees, waits for the black flag of the prison to rise signaling Tess's execution, and strolls away, hand-in-hand with Tess's sister. The story effectively challenges the morals of Victorian England, yet Angel isn't painted as a villain, while evidence suggests otherwise.
Many How I Met Your Mother fans focus on Ted, his transgressions, and whether or not he deserves his happy ending. Well, his ending is more bittersweet than anything and Robin proves to be a somewhat selfish character throughout the show herself, so maybe they do deserve each other. Lily, however, does not deserve Marshall.
First, she calls off their engagement to pursue a hopeless art career in San Francisco. While this is selfish, it's understandable. She definitely should have included Marshall in the decision making process, though. It's a bad look but it doesn't make her irredeemable. But then her actions in marriage are equally selfish. She runs up credit card debt, forcing Marshall into a corporate law career that makes him miserable. Furthermore, they move to Italy for her career, once again thwarting Marshall's ambitions, this time to be a judge. Theirs is an astoundingly one-sided relationship.
#35 on The Best Fictional Teacherssee more on Lily Aldrin
Benjamin Barry Is The Slightly More Terrible Human In How To Lose A Guy In 10 Days
Both Benjamin Barry and Andie Anderson (excellent character names, by the way) play some pretty shady games in How to Lose a Guy in 10 Days. Anderson comes up with the idea to write an article by the titular name. To do so she has to toy with a man's feelings. However, the man she chooses is, fortunately, even more of a jerk because he is acting on a bet that he can make a woman fall for him in 10 days, after which he would presumably toss that woman aside.
In both cases, the casual manipulation of another person is appalling. One could make the argument that both main characters are terrible and thus neither deserves a happy ending or perhaps, that they actually do deserve each other because that way they each end up with a horrible partner.