Profit should be aligned with public good. That's where the system is currently failing majorly. Most people in all economic systems will strive for self-gain. The great thing about capitalism is that it realizes that this will always be the case and tries to co-opt this basic human desire into something good.