The crew of a colony ship has set itself up as the Hindu pantheon, lording it over the descendants of their former passengers by controlling access to superior technology and enacting laws forbidding progress. This works well for a long time, until the Buddha appears.
A deep novel which is sometimes difficult to fathom, it is nevertheless considered a science fiction classic for good reason. The way in which Zelazny uses technology as a metaphor for spirituality is masterful.