In the novel Foundation, the Foundation, a large colony of scientists on the planet Terminus, find themselves cut off from their supporters in the Galactic Empire and threatened by the newly independent neighboring Kingdom of Anacreon, which covets their possession of scientific knowledge and nuclear power.
The resulting religion is never given a formal name in the novel, but it is referred to several times as the "religion of science", hence the name "Scientism".