Star Trek The Original Series S01 E21 – The Return of the Archons
The Enterprise discovers a planetary population controlled by a powerful being called Landru. While investigating, Captain Kirk and his landing party are taken captive and discover that the Enterprisecrew will be the next to be “absorbed” into Landru’s control