Thus the endless discussions of software model - all of which no doubt work for some set of users.
Some software is free, some costs hundreds of thousands a year. Some runs on specific hardware some is general. Some works in the cloud, on prem, or on desktop. Some comes with source, some doesn't. Some is very niche, some is ubiquitous.
Ultimately each author, user, and customer, needs to understand their goals, and the goals of the market, and if they pick a business model that intersects those goals they have a chance at success.
Techies might like to "own" the in-house software. (So the open source model suits them.) But most business people just want their accounts program to just work. They don't want to tinker with the code, they don't want responsibility for supporting it, they just want it to work.
For a successful business money is easy to get. People with the ability to hack on some custom build of some random open source thing are hard to get. Better to use QuickBooks, and pay an annual license.
For a startup business with no revenue, it makes sense to leverage skills, and look after cash. So get free software to do everything. Make do with what you get, and spend some (cheap) time keeping it going.
I could go on, but you get the idea. There are a million contexts, and each one has a different view of time, cash, revenue, ability, desire, market and so on. Which is why sweeping generalisations of "the right way" are clearly not ubiquitous when we look at the world around us.