The Simpsons
The Fool Monty
S22 E6:
During a "housecat flu" scare, Mr. Burns is startled to discover that everyone in town hates him. He tries to take his own life, but fails, losing his memory in the process. The townspeople use the opportunity to seek revenge on him for the harm he has inflicted upon them through the years.