The humor is essentially dark for a cartoon and sophisticated. But at the same time, being a cartoon gives the writers more freedom than in a normal sitcom. It always pushes the line that, despite human failings, the Simpsons are really decent people.
It is almost impossible for anyone, even the most ineffective among us, to continue to choose misery after becoming aware that it is a choice.