Software is a legitimate product that has value in and of itself. There's no reason why software should be free, anymore so than anything else. Since nothing else free, we need to stop giving away our labor.
Most software is bespoke. Almost no one writes "shrink wrapped" software. It's a tiny fraction of the real software work, and turning the rest of the industry upside down to maximize the interests of a few people who want to do the "all bits should be sold" business model absolutly crushes the majority of the economic activity. Less then 10% of the software written is software to be sold directly, the vast vast majority of it is internal systems to keep businessesrunning.
In practice, people who write software for the businesses they work for benefit by the racheting effect that open source provides. If we had to pay licenses for each ssh server, web server, ntp server et al, most high tech businesses would never get off the ground. Because we have the tools and the ability, rather then paying rent, what many of us have decided to do is compete against that commercially licensed software with competetitive, freely licensed software. By giving patches or some work away, you get to participate in a rapidly upgrading, high quality, free platform to do business on. So from my perspective, I get a ton of value out of the ecosystem, and I contribute back to it preciely because it's what makes small team, lean startups possible.
What you get from the present arrangement is a ton of jobs, the industry with the best social mobility (where else can a 26 year old have a reasonable shot at clearing 6 figures?) and rapid innovation. I think a big chunk of this can be laid at the feet of open code preventing businesses (for the most part, see: oracle) from business models based merely on rent keeping activities.
If your business can't compete with people giving code away, the right response is to get yourself a less fragile business model, not to bemoan that the rest of the industry is clearly acting in it's best own self interests