Egoism has its good side