They've insulted you for your physical appearance. They've beat you up and stuffed you into the locker. They've told nasty rumors about you liking an unattractive girl. They tried to get the boss to fire you. Scratch that. Your boss wants to get rid of you, too. Heck, they even made an attempt to kill you for goodness sake! Those jerks will do many nasty things to you just for the sake of making your life miserable.
Wait. You think that your enemies are the best thing to ever happen to you?
This is the trope where the hero has the ideology that having enemies is good, beneficial, or necessary for his life. Here are some common reasons why the hero puts up with them day after day:
Motivation: Another reason could be that the hero sees their scorn as some sort of motivation. The more they hate him, the more stronger and better he will become in the long run.
Honesty: Maybe it could be that the hero knows that it's better to have openly honest enemies than distrustfulfriends. Reason 2 from above would be that enemies are lighting up the fire in the hero whereas friendships are just there to bring down the hero.
Jealousy: They are torturing the hero for just being different from them, but deep down, they envy him for being gifted with many talents and accomplishing so much in his life. This is what commonly creates a very dangerous villain for the hero.
"It is good that a man's enemies want him dead, for it proves he has lived a life of worth."
Benjamin Franklin's Poor Richard's Almanack has the proverb "love your enemies, for they tell all your faults", which means that even though your enemies will cruelly tell you what you're failing at, this gives you the opportunity to improve yourself for the better, much to their displeasure.
Sam Vimes of Discworld's City Watch books takes great pride in having assassins constantly out for his head, because it means he's annoying people who ought to be annoyed. In fact he's almost offended when he learns eventually learns that the Assassin's Guild has stopped taking contracts on him.
The Canim of the Codex Alera actually believe that a good enemy is better to have than a good friend and have multiple words for it in much the same way Eskimos are said to have multiple words for snow. Most prominent of these is their word, gadara, which roughly translates to a "trusted enemy." Fathers and sons actually refer to one another by it.
Any works written by Ayn Rand, particularly Atlas Shrugged is designed with this trope in mind. The good guys are always some sort of genius, exceptional, or determined person. The bad guys are always those who hate their success.
In Watership Down, the rabbit's ancestral hero is called "Prince with a Thousand Enemies".
The quote in Bennett Cerf's Shake Well Before Using: A New Collection of Impressions and Anecdotes Mostly Humorous in 1949 has some shades to this trope which also goes along with the Be Yourself moral:
"Those who mind don't matter, and those who matter don't mind."
This quote was then used by Bernard Baruch, who was the presidential advisor of former presidents Woodrow Wilson and Franklin D. Roosevelt, in response to Igor Cassini's question in regards to the seating arraignments of dinner parties.
The quote was also then used by Dr. Seuss in one of his books, but without the citation of the work.
A fledgling Voldemort is seen using a variation of this trope in a Pensieve Flashback to explain why Dumbledore has heard so many bad things about him; "Greatness inspires envy, envy engenders spite, spite spawns lies." While this statement may have some truth to it, Dumbledore does not believe for a second that it applies to Voldemort.
Chappelle's Show: Played for Laughs in the skit "The Playa Hater's Ball" where people hate each other for being great... at doing very dirty, low-down things because they wish they were doing them. It makes a lot of sense considering this is one of the terms for "player hater".
On Psych, Detective Lassiter takes great pride in the fact that there are a lot of criminals who might want to kill him.
The pilot episode of Glee has aspects of this trope. There's Will encouraging Rachel that it comes with a price for showing her talents and there's Finn giving Puck this moving speech:
Finn: Don't you get it, man? We're all losers! Everyone in this school! Hell, everyone in this town! Out of all the kids who graduate, maybe half will go to college, and two will leave the state to do it! I'm not afraid to be called a loser because I can accept that's what I am.
NCIS: Los Angeles: In the episode "The Debt", Sam, G. Callen, and, of all people, Hetty use the "Haters Gonna Hate" quote.
Sheldon from The Big Bang Theory states that the neighborhood kids hated him because they were jealous of his intelligence. Mary, his mother, doesn't think that was really the reason.
Buffy the Vampire Slayer: In the episode "Checkpoint", Buffy points out that the reason she was deemed as unimportant by The Watcher's Council was because she has the power and the reason Glory talked down on her and never bothered to finish her was because she needed the power. That power Buffy was talking about was the key.
A lot of rap songs, especially from the Glam Rap and Swag Rap sub-genres, are all over this trope. There are too many to list, but common songs include "Hate Me Now" by Nas, "Motivation" by T.I., and "Hi Hater" by Maino.
The first lines of Shinedown's "Bully" implies this:
The point of Objectivism is to explain this trope. Ayn Rand professes that the elite and exceptional are what's good and right in the world, and true evil comes from attempts by the unexceptional to drag them down to their level. Rand opposed socialism in any form, and Objectivism was established to condemn it in any fashion.
The reason why John Cena is one of the biggest, if not THE biggest, star in the WWE today is because not only for having a large fanbase, but also having a huge pack of haters, so it really doesn't matter whether he's cheered or booed, what matters is that he has the biggest reaction. And selling all of the "Cena Sucks" T-shirt actually helped boost his merchandise.
"And all you people hate me just 'cause I'm better than you?!"
The Miz's promo during his run as the United States Champion has this Wham Line:
The Miz: "I'd rather you all hate me for who I am than love me for something I'm not!"
He again boasts to his detractors in a promo in November 2010 after winning the WWE Championship from Randy Orton the previous week.
Part of CM Punk's imfamous "pipebomb" promo in June 2011 states that eversince he came to the WWE, he was strongly hated because Paul Heyman saw something in him that they don't want to admit. In short, he's a Paul Heyman guy.
His "Reason You Suck" Speech against John Laurinaitis points out that the reason Laurinaitis has been getting under Punk's skin for the past months is because he's jealous of his success as the WWE Champion. This is what also let Big Johnny to snap.
During his feud with Hulk Hogan in mid 2005, Shawn Michaels insults the Montreal crowd for hating him because he's everything they wish they could be. This is one of the guys who claim that he screwedBret Hart.
David was resented by King Saul just for being the only one to defeat Goliath. Let's not forget that King Saul lost God's favor for disobeying His orders of killing the Amalekites.
Job is a good example of a person who is doubted by others (his wife and his close friends) due to putting their trust in God during a Crisis of Faith.
Stephen was hated and brutally stoned to death all because he was witnessing to others about Jesus, cementing himself as the first Christian martyr in history. For this matter, a Christian being persecuted for their faith in God is a sign of honor and rewards, especially in heaven.
The Beatitudes and Woes are a contrast that explicitly bring up this trope, pointing back to Israel's history and saying that the real prophets were always oppressed and scorned by the people, while the false prophets were always lauded and fawned over.
Some scriptures assures that it is better for a believer to have enemies than to be an enemy of God. John 15:18-20 is an example of this:
"If the world hate you, ye know that it hated me before it hated you. If ye were of the world, the world would love his own: but because ye are not of the world, but I have chosen you out of the world, therefore the world hateth you. Remember the word that I said unto you, The servant is not greater than his lord. If they have persecuted me, they will also persecute you; if they have kept my saying, they will keep yours also."
Real Madrid football player Cristiano Ronaldo was given huge heat for allegedly forcing the referee to send off Wayne Rooney in the World Cup 2006, although it was said that the two were close friends. Despite the hatred he received from the fans, Ronaldo states that their boos and insults is motivating him to train harder than ever. His quote in 2010 sums up this trope:
"Maybe they hate me because I'm too good."
Legendary basketball player Isiah Thomas had experienced being hated along with the rest of the Pistons in the early 90's and states that it isn't such a bad thing. Here's this quote:
"Hate is not a bad thing in sports . . . That means that you're pretty good, you're touching people's emotions, a little controversial, and you're being talked about. That's what sports is all about. It's not about the good guy all the time. If they're chosen as the bad guys that means they're going to be on television a lot, they're going to be written about a lot, and they're going to win a lot of games."
In Australian Rules Football, the Collingwood Magpies seem to take pride in how much fans of other teams hate them. One commercial had fans of other teams talking about how much they hate Collingwood, with a voiceover at the end saying, "Give 'em the bird. Sign up for Magpies membership today."
This is an important belief of the Krogan from Mass Effect. They love to fight, and the more challenging the enemy, the greater the glory. If you manage to impress a shaman, he'll tell you "May your foes be strong enough to keep you sharp!" If you don't, he'll give you a backhanded insult by saying "May your enemies give you exactly what you deserve."