Deep Space 9: The Prophets are future Bajorans that evolved beyond space & time, which is why they refer to themselves as "of Bajor" and have such a high interest in the fate of its people. The Pah-wraiths are just future evolved asshole Bajorans like Kai Winn & Jaro Essa.