Interesting. In retrospect, I thought The Cosby Show reflected better on Bill Cosby than anything else he ever did.
Another one was the “All in the Family” vehicles.
In the Cosby case, it was the producers that wanted to make the turn (LA libs). They thought the exceptional ratings was a mandate for social activism instead of just a reflection of how entertaining the show was.
An early example of “Shut up and sing!” heard at most Bono and Ditzy Chix concerts.