It is kind of why I believe in commercial software. [1]
Because it is ok to get paid so you can buy beans, shoes, and even nice things.
And it is ok not to give away the fruits of your labor. [2]
[1] I also believe in free software. GNU is one of the two most important philosophical ideas of the second half of the 20th century. Animal rights is the other.
[2] It is also ok to give away the fruits of your labor. The world is complex and the right thing depends on all the known facts.