I dunno, I'm not sure how to explain it more simply. You're just wrong.
The corporation is a legal device where multiple people can be a single legal entity...and the earliest example of it in Western history is monasteries and churches, not entities that existed for profit. The closer forebears of the modern business corporation are the royally-chartered corporations which were done to fulfill purposes deemed important by the governments that chartered them (eg East India Company, VOC - folks like Adam Smith vigorously denounced the use of these corporations as vehicles for profit-making without any concern for the effects on society).
In the early US corporations were chartered to accomplish some specific purpose (like building a bridge) that required more capital than could be provided by a single person. When the bridge was built, they were dissolved.
Today we have corporations that exist not to make a profit, but for completely unrelated reasons. Like labor unions, churches, charities, etc.
So you are just wrong. There is no other way to put it. The purpose of corporations is social utility, and profitable business activity is only one of many things corporations do that are deemed to be socially useful.