You’re not wrong, but in Australia where I work only 12.5% of all workers are in unions. We have some moderately union-hostile legislation (strikes are hard to pull off lawfully) but nothing preventing union organisation in principle for most workers. So evidently it’s not only software developers who think this way.
So workers are prosecuted for withholding labor in negotiations with management, these are moderately union-hostile laws. I'm told Henry Clay Frick was somewhat disinclined in his opinion of unions as well.