DS9 was definitely the darkest of Star Trek series of the era, and made the realities of the Federation seem a bit less rosy. But it was dark relative to the very bright Star Trek baseline; in absolute sense, there's lots of positivity to be found in the series.