This much is true: the most selfish of all things is the independent mind that recognizes no authority higher than its own and no value higher than its judgment of truth. You are asked to sacrifice your intellectual integrity, your logic, your reason, your standard of truth—in favor of becoming a prostitute whose standard is the greatest good for the greatest number. (Part III, Ch. VII, “This is John Galt Speaking”)
Ayn Rand advocates for a “selfishness” that is not the same as what schools teach children to share toys and supplies. She further elaborates on this seemingly outlandish concept in another book, The Virtue of Selfishness. In popular usage, the word “selfishness” is a synonym of evil. Yet the exact meaning and dictionary definition of the word “selfishness” is: concern with one’s own interests. This concept does not include a moral evaluation; it does not tell us whether concern with one’s own interests is good or evil; nor does it tell us what constitutes man’s actual interests. It is the task of ethics to answer such questions. There is a fundamental moral difference between a man who sees his self-interest in production and a man who sees it in robbery. The evil of a robber does not lie in the fact that he pursues his own interests, but in what he regards as to his own interest; not in the fact that he pursues his values, but in what he chose to value; not in the fact that he wants to live, but in the fact that he wants to live on a subhuman level.
In the context of Atlas Shrugged, men have been taught that the ego is the synonym of evil, and selflessness the ideal of virtue. But the creator is the egoist in the absolute sense, and the selfless man is the one who does not think, feel, judge or act. These are functions of the self.