It's a bit subtle, but Frank Herbert's Dune universe is based on the premise that spoiling convenience is outlawed, and punished by death:

---------------------

In Terminology of the Imperium, the glossary of 1965's Dune, Frank Herbert provides the following definition:

Jihad, Butlerian: (see also Great Revolt) — the crusade against computers, thinking machines, and conscious robots begun in 201 B.G. and concluded in 108 B.G. Its chief commandment remains in the O.C. Bible as "Thou shalt not make a machine in the likeness of a human mind."

Herbert refers to the Jihad many times in the entire Dune series, but did not give much detail on how he imagined the actual conflict.[4] In God Emperor of Dune (1981), Leto II Atreides indicates that the Jihad had been a semi-religious social upheaval initiated by humans who felt repulsed by how guided and controlled they had become by machines:

"The target of the Jihad was a machine-attitude as much as the machines," Leto said. "Humans had set those machines to usurp our sense of beauty, our necessary selfdom out of which we make living judgments. Naturally, the machines were destroyed."[5]

In the series, Herbert illustrates how the Jihad leads to many profound and long-lasting effects on the socio-political and technological development of humanity. The known universe is purged of all forms of thinking machines, resulting in not only a ban on the re-creation of similar devices (which remains in effect throughout the periods described in the original six Dune novels), but also a great technological reversal for humanity. The chief commandment from the Orange Catholic Bible, "Thou shalt not make a machine in the likeness of a human mind", holds sway, as do the anti-artificial intelligence laws in which the penalty for owning an AI device or developing technology resembling the human mind is immediate death. This leads to the rise of a new feudalistic galactic empire which lasts for over ten thousand years, until the rise of the God Emperor Leto II in 10,217 A.G.[6]

To replace the analytical powers of computers without violating the commandment of the O.C. Bible, "human computers" known as Mentats are developed and perfected, their mental abilities ultimately honed to the point where they become superior to those of the ancient thinking machines. Similarly specialized groups of humans which arise after the Jihad include the Bene Gesserit, a matriarchal order with advanced mental and physical abilities, and the Spacing Guild, whose prescience makes safe and instantaneous space travel possible. Fringe societies such as the Ixians and Bene Tleilax eventually begin to develop mechanical and biological technology that, if not actually transgressing the commandments of the Jihad, at least come extremely close. Prohibitions spawned by the Jihad also include artificial insemination, as explained in Dune Messiah (1969) when Paul Atreides negotiates with the Reverend Mother Gaius Helen Mohiam, who is appalled by Paul's suggestion that he impregnate his consort Princess Irulan in this manner.[7]

Herbert's death in 1986[8] left his vision of the actual events of the Butlerian Jihad unexplored and open to speculation.[4]

https://en.wikipedia.org/wiki/Butlerian_Jihad