If anything, series 1 of Discovery is a refutation of the conclusion of the DS9 episode In the Pale Moonlight - in both stories the protagonist makes a decision to forgo their morals in favour of what they see as the greater good, but while Sisko decides that’s OK, Burnham realises she was wrong to do so.