Creating, modifying, managing, transmitting, and copying of code or ideas take human effort. That is why, when we want to read the ideas in a book, we pay for it. This payment is essential to ensure that the human effort that created it, printed it, transmitted it are compensated for their service.
If you have an apple and I have an apple and we exchange apples then youand I will still each have one apple. But if you have an idea and I have an idea and we exchange these ideas, then each of us will have two ideas. George Bernard Shaw (1856-1950)