Northern Exposure, Season 5

Northern Exposure (1990-1995) was an American dramatic-comedy television series. Set in remote (and fictional) Cicely, Alaska, the show focused on Joel Fleischman, a big-city physician trying to cope with small-town Alaskan life.

I think the saying is, "better to have tried and failed than not to have tried at all" and if they didn't say it, they should have.