[citation needed]
As far as I can tell, that's a modern, MBA-ish fantasy about the nature of business. I have small business owners in my family going back generations. Maximizing profit was not the goal. It was making a living and being part of a community. This is definitely not uncommon. See, for example, the writings of the late economist Alison Snow Jones: https://www.interfluidity.com/v2/1095.html
If that involves maximizing profits, then great, but if the owner enjoys doing work with happy, un-stressed people more than he does a few humdred extra dollars in his pocket, it’s clearly not (only) about optimizing profits.
Who taught you this? If there's a specific historian pushing this narrative I'd love to know who it is, because on the surface this claim sounds absolutely outlandish.
You can call maximizing profits maximizing shareholder value, and often they’re aligned. But it’s how businesses were always designed to work, long before stock markets. Is it fair? Most likely not, but it’s business 101, same as me writing reliable production code is engineering 101.