One episode of Bleach has Ichigo's little sisters demanding that he apologize to their cousin Tsukishima after he punches him. That wouldn't be wrong except that Tsukishima is really a villain and he messed with their memories to make them think he's their cousin. So, basically he had that punch coming.
In Working, Inami is so terrified of men, that she instantly punches out any man who is unfortunate enough to be near her, with her regular victim being Souta. Eventually, he gets fed up, calls her out on this, and everyone treats him as the bad guy and acts as if Inami didn't deserve his calling out.
An episode of Friends has Ross move into a new apartment. A resident tries to get him to give $100 for the super's retirement, but Ross only just moved in and doesn't feel obliged. Everyone in the building treats him like a pariah.
In one episode of Grounded For Life, upon learning that Eddie had an adult movie shot at their house, Claudia bans him from the house. When the kids find out, they get upset that they'll never see their uncle again. Claudia even lampshades it.
In the How I Met Your Mother episode "Columns", Ted deals with a worker (his former boss) who keeps belittling his ideas and being a jerk, prompting him to fire him. However, he finds himself unable to do it due to circumstances: his birthday, his wife left him and served him divorce papers, and his dog died. Finally, Ted has enough and decides to fire him at last. However, as he does, the worker has a heart attack. Ted thinks he's faking it and fires him anyway. The worker is then carried off in a stretcher and everyone despises Ted, including the paramedics.
One episode of Home Improvement features Jill putting Tim's car outside, only for it to get covered in snow. When Tim gets upset with her, she turns it around about how all the times he ruined her things, she forgave him, only for him to not do the same, ending with her storming out of the garage upset. It's then that Tim realizes what just happened.
Tim: Wait a minute! You are really good. You screw up, and I'm getting yelled at! You are really, really good!
Wonderfully inverted in an episode of Malcolm in the Middle. Lois grounds Malcolm for not helping move a couch even though he was doing some school work. Then when the family is forced to evacuate due to a train wreck releasing toxic fumes, she says the grounding still stands and makes him stay on a cot. When he finally stands up to her, she humiliates him in front of everyone. This results in her being forced to stay outside with the others for things they did (Reese creating a black market for supplies, Dewey lying to everyone to get sympathy, and Hal for causing the accident that forced the evacuation in the first place), resulting in the one time Malcolm came out on top.
Arthur: The episode "Arthur's Big Hit". No matter how you look at it, Arthur Read's anger towards D.W. (his sister) was completely justified, albeit extreme.
Ironically, D.W. gets a meta-example of this. The audience is supposed to feel sorry for her when Arthur punches her for playing with the model plane. Unfortunately, she came off as unsympathetic because of a) repeatedly annoying her brother by disturbing him in the midst of him building his model plane, b) her own fault for throwing the model out of the window, and c) blaming her brother instead of apologizing. All in all, the situation came off as a case of Take That, Scrappy! instead.
In effect in Danny Phantom episode "Splitting Images". Tired of resident Jerk Jock Dash picking on him, Danny decides to use his powers to get some payback. Unfortunately, he catches the attention of Bully Hunter Sidney Poindexter who thinks that Dash was an innocent kid (somehow missing when Dash picked on Danny), so he takes over Danny's body and sends him to his realm where Danny gets picked on by Poindexter's bullies. While the message in the episode is Comes Great Responsibility, it's laced with this trope as well.
Donald Duck in the short "Crazy Over Daisy". It has the moral where using chipmunks as a source of transportation after they torment you and destroy your bike results in you losing your girl.
The ending of Ed, Edd n Eddy's Big Picture Show has an inversion of this. At the beginning of the movie, the Eds' latest scam caused massive damage and severely hurt the children, resulting in them being hunted down. After the encounter with Eddy's brother, everyone got over it, except Johnny who didn't arrive until afterwards. Therefore, when he attacked the Eds, the children beat him up.
An infamous example is Futurama episode 'Benderama'. An ugly giant appeared in the first act and got upset when Fry accidentally insulted his mother. In the third act, he came to Earth to apologize for his behavior, but unfortunately, everyone's so intoxicated (due to all the fresh water on Earth being turned into alcohol) that they inadvertently pick him on and call him a monster, causing him to go crazy and start attacking the town, ending with him being killed by Bender's copies.
One episode Looney Tunes features a dog that was defending a kitten from a mean cat, only for the owner to get the wrong idea and think the dog was being mean to the cat. Fortunately, the dog managed to force the cat to confess the truth.
My Little Pony: Friendship Is Magic: An interesting Deconstruction happens in the two-parter episode, "A Canterlot Wedding" (Season 2 finale). Twilight Sparkle accuses Princess Cadence of being evil after seeing how much of a Jerkass she was being towards her friends. Cadence breaks down in tears and runs away, causing her friends to be upset with her, Shining Armor (her brother) to change his mind about her being Best Mare, and Princess Celestia to be disappointed in her. Turns out that it was really the Queen of the Changelings, impersonating Cadence and the real one was locked in a dungeon below the castle. Because of Twilight's friends shunning her, Canterlot became overrun with an army of Changelings and nearly destroyed, and Queen Chrysalis gleefully points this out. Nice Job Breaking it, My Little Ponies!
One episode of The Simpsons features Gill staying with the family after losing his job on Christmas. He stays for months and defiles the house to the point where Marge can't take it anymore and decides to stand up to him. By that time, Gill had gotten a new job, so Marge takes the family to his new workplace to tell him off. Unfortunately, when she does, he loses the respect of his workers and his boss fires him. Marge feels so guilty that she and the family buy a vacation house from Gill.
In a segment parodying The Count of Monte Cristo, Homer (playing the role of the Count) sets up an elaborate revenge scheme for the man (Moe) who stole his love (Marge) and had him sent to prison, which ends with Moe being killed. Unfortunately, Marge gets upset with him for killing her husband.
A most egregious example occurs, in of all places, a Sponge Bob Square Pants episode entitled "Stuck In A Wringer". SpongeBob has an accident that gets him stuck in a wringer, and thanks to Patrick's stupidity, he can't get out. SpongeBob feels he'll never be able to do anything now, but Patrick gives him a Rousing Speech that he can go on. Unfortunately, Patrick's speech is proven unfounded as the wringer causes SpongeBob a ton of bad luck no matter how much Patrick tries to inspire him. Finally, in the middle of an amusement park, SpongeBob snaps at Patrick, telling him his life is over and that it's all his fault. Patrick runs off crying while everyone who was watching call SpongeBob a jerk and say he got what he deserved.
In another episode, Flats the Flounder menaces poor SpongeBob, threatening to "kick your butt". When he actually does, however, SpongeBob's soft body just absorbs the blows, and Flats keeps punching away until he falls from exhaustion. SpongeBob then gives his fellow students a speech against violence, raising his fist for emphasis. That's when Mrs. Puff comes in, sees Flats on the floor and SpongeBob with his fist up, and accuses him of beating up Flats, then tells him "I'm gonna kick your butt!"
In the episode entitled "Plankton's Pet", Plankton disguises himself as a baby to steal a krabby patty. However, Mr. Krabs sees through his disguise (and it's a pretty good disguise) and attacks him. Everyone is horrified that Mr. Krabs is seemingly attacking a baby, until he reveals it's Plankton. However, when Mr. Krabs kicks him out, a bunch of senior citizens that were watching attack him.