You can cooperate with others toward selfish ends. That’s literally how pack animals like humans work.
Right now it is in everyone’s self interest except for the bourgeoisie to stop capitalism and create a more equitable system. If you just want to be on top, that is being selfish and not understanding how odds work, not being selfish.