One of the best Star Trek New Generation episodes was "Who Watches The Watchers". The story dealt with accidental first contact of the Enterprise with a primitive alien race.
An inhabitant of this planet gets injured in an explosion of a "Watcher's Post" and then is beamed on board the Enterprise where he's fixed up by a "God Called Picard". The person is beamed back to his planet, but the damage is done. Suddenly, he becomes a prophet to his people about God and what God can do for them.
Because a watcher was injured during the explosion, Troi along with Ricker have to impersonate natives to find him. This leads to the capture of Troi and further violations of "The Prime Directive".
Picard has to meet with the native leaders to prove he isn't God which he does in another accident.
The story illustrates the dangers in "First Contact" when a more advanced society meets a primitive culture. Healing technology, transporter technology, starship technology might be regarded as the manifestation of a supreme being. There's evidence of this happening in the Bible, The Koran and The Book of Mormon.
The Second Coming Of Christ may have been postponed because it's a violation of a "Divine Prime Directive." In Star Trek mythology, a culture has to be close to warp drive before first contact is initiated.
Alien First Contact In 20 Years Or Less