All tagged the first commandment

Stargate SG-1 Episode 1.05: "The First Commandment"

SG-1 is sent offworld to investigate the disappearance of SG-9. After finding one of the team, Lieutenant Conner, Conner explains that Captain Hanson, SG-9's leader, has lost it. He's convinced the locals that he's a god and is now forcing them to build a temple. Anyone who disobeys gets left out in the harsh sunlight to die of exposure.