That sci-fi book was already written, &quot;This Perfect Day&quot; by Ira Levin. A computer is in control of a nearly global utopian socialist society, but critical thinking, emotions, and familial attachment is strictly discouraged via regular drug-aided &quot;therapy&quot;, propaganda, surveillance, etc. A softer, peace-loving, technocratic version of 1984. The protagonist rebels, relapses, and rebels again, eventually in spectacular fashion. It&#x27;s revealed that the computer is used by an elite class who do all the planning, and who grow their ranks by taking in those who are the most successful and clever in their rebellion. It may not be quite what you&#x27;re looking for, because some members of this hidden leadership are quite cynical, but many are also sincere and think that their work is good citizenry.