One hypothesis is altrustic: empathy causes a non-instrumental desire to help. In fact, some of our highest ideals in the Western world—individual rights, freedom, and democracy —depend on ideas similar to egoism.
But there are other points of view, such as that of my species, family or country.
Focusing on selfish gain will wipe our species out. Mistakes in securing the proper means and appropriate ends will be made by individuals, but if they are morally responsible for their actions they not only will bear the consequences but also the opportunity for adapting and learning.
XI The suggestion has been heard that if all acts are Egoistic this term has no distinctive meaning. Therefore our ego is an enemy that resides within us, motivating us on the negative path. I claim none of that, I assert my own.
But what do we read in the history of mankind except woes, wars, persecutions and catastrophes beggaring description, and all related in some way to the determination of mankind to interfere with each others' actions, thoughts and feelings for the purpose of making people thing better and behave better as conceived?