This is a quote from the book "The ​Virtue Of Selfishness" by Ayn Rand
...ut only on certain conditions.

“The two great values to be gained from social existence are: knowledge and trade. Man is the only species that can transmit and expand his store o
f knowledge from generation to generation; the knowledge potentially available to man is greater than any one man could begin to acquire in his own lifespan; every man gains an incalculable bene fit from the knowledge discovered by others. The second great benefit is the division of labor: it enables a man to devote his effort to a particular field of work and to trade with others who s...
read full book block explorer