Ideas don't follow the laws of commerce. They are not objects. They are not a product. They don't run on batteries.
Information is not a fuel that you can pump out of one mind and into another. You can't price it at dollars per barrel.
If our society made money obsolete and whatever you wanted was free, would people stop writing books, making music, putting on plays?
The following video is 4 minutes long but very pertinent to anyone considering selling books online.
Did you discover your favourite author through someone lending you a book? Pick up something at a library? Read it at school? Intelligent humans like to read. They enjoy it, they benefit from it, and others around them benefit too. And it generates money. Lots of it. Always has. But not because of copyrights and intellectual properties and strict regulation.