IIRC, I've heard it said that comedians are not happy people and usually had pretty difficult childhoods where "being funny" was a coping mechanism.
Such people have different perspectives on life, success and happiness, for better or worse.
Most of timeless comedy simply describes the mundane reality of the audience in a way that they realize the absurdity of it.