Nietzsche recommends to spend some of our time in complete solitude. To reflect upon the inner voice that conditions our life which is the product of the common conscience of society.
Solitude is but a temporary matter. He also recommends to spend time with people who possess virtues of the love of life, these “higher men” allow for mental elevation. An individual who isolates himself without ever valuing external opinions will only have his conscience with himself and nobody to ever confront or challenge his views.
Solitude is thus not just a result of the contempt of the masses, but allows to forge a more profound longing for a community that allows one to explore the best version of oneself. Company is important, and if chosen well – can be mutually beneficial.
In this sense, solitude is compatible with life in community, but it is also necessary to retreat into complete solitude once in a while, in order to receive its fruits.