Or it was part of the Prophets' plan, so that their Emissary (,i.e. Sisko) will defeat the Pah Wraiths' Emissary (,i.e. Dukat) This is essentially what happened at the end of What You Leave Behind, evidently.