I understand this may not be exactly how you meant your comment, but I think it’s important to clarify that free/libre software can also be commercial software, and in fact must allow commercial use in order to fit the Free Software Definition. It is probably easier to make lots of money with non-freely licensed software but I think contrasting “public” code with “commercial” code muddies the terminological waters a bit.
“Commercial” is not the opposite of free/libre. In fact, GPL licensed software can be “taken commercial” with a guarantee that it will remain libre, whereas BSD-licensed software doesn’t have those guarantees.