Eternal Machine

The  was worshiped by a humanoid species on an unnamed planet.

In reality, the Machine was an alien that had crashed on the planet over a thousand years before the Third Doctor visited the planet. The alien was injured and entered into a regenerative sleep. For the next several centuries, it influenced the development of the planet's civilisation, manipulating the people.

The Doctor exposed the religion as a lie, and showed the people that their Eternal Machine was an alien that killed initiates, using their minds to grow more powerful. The people burned down the Sanctuary of Stars, killing the alien. (PROSE: The Discourse of Flies)