One of the reasons I couldn't stand DS9 much was because of it's religious undertones.
Undertones? The Prophets exist
, and are capable of communicating with arbitrary individuals at will (although they don't do so often). It's entirely reasonable---scientifically speaking---for the Bajorans to have structured a belief system around them.
The question on DS9 wasn't whether religion is "real"....it clearly was. The question was whether that's a good thing or a bad thing for a society, and even perhaps a bit of both.
Highly advanced aliens that reside outside of standard space-time decide to interact with a far less advanced (primitive) society which in turn creates a religion out of it all.
In this instance it's 'correct' because the writers did it in such a capacity ... nothing more, nothing less.
An over-glorification and different (limited) interpretation of existing circumstances.
SF for the most part behaved in a capacity that they are dealing with advanced alien race and didn't give it a second thought.
The Bajorans were insulted for the most part that SF didn't share their viewpoint on the wormhole aliens (who even went out of their way to make a so called 'Emmissary' out of Benjamin Sisko who was human, and not anyone from Bajor).
But going into this aspect of the show is not exactly part of the thread so we should stick to the subject.