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.
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.
#34 on The Best Fictional Teachers
Ross and Rachel have to end up together on Friends because they're Ross and Rachel. But despite Rachel's flaws, Ross probably doesn't deserve her. Ross is obnoxious, self-important, condescending, rude, jealous, and irritable. He takes the woe-is-me trope to a whole new level. His undesirable personality isn't the only reason that Ross doesn't deserve Rachel, though.
When the two drunkenly marry in Vegas, he refuses to divorce her for fear of how people might perceive a thrice-divorced man. That is an unspeakably selfish act which illuminates the wonting character of the man. That he would do something like that should disqualify him from ever finding love.
#72 on The Greatest TV Doctors
In Vacation, Clark actually starts out as a good husband and father but by the end of the trip, he's done some pretty unforgivable stuff. First and foremost, he kills a dog by leaving it tied to the bumper of the car. Yes, it's an accident but it's disgustingly negligent, and a criminal offense. Then he flirts with the Ferrari girl while in the car with his family. Of course, he later goes skinny dipping with her and that's even worse. Somehow, Ellen just forgives him for this. Finally, he threatens a security guard at Walley World with a realistic-looking gun, forcing the man to take them through the park as he's become unhinged after the disastrous getaway.
Owner Roy Walley decides not to press charges against Clark out of sympathy and the Griswold family enjoys a lovely romp through the park. If Clark isn't going to be imprisoned for his crimes, Ellen should have left him in the desert.