The idea that people from a "superior" culture can come and easily use the superstition of an "inferior" culture to manipulate an entire population is wrong, racist and rooted in seriously repulsive colonialism.
It's not a problem specific to Star Trek, but Star Trek regularly indulge in it, and it sucks.