It's another for one to directly lose out on potential sales due to that availability.
This argument is so untrue for books it's not even funny. There is a huge treasure trove of free ebooks available and very often you can get a used mass paperback for less than a dollar. And there's no win from a pirated copy.
Commodities don't get pirated. Commodities get market competition.
If you could 3D-print yourself a copy that looks just like the original, then sure, I'd say it's absolutely right to do. But that's my opinion, I'm not a fan of the concept of intellectual property. Regardless, what you did here is trying to equate piracy with theft, which is incorrect. Copying does not make the original disappear. Copyright infringement may be a crime, but it's a different crime than theft, both legally and morally.
> but reading a specific book and because you can't afford to pay for it, now you think you are entitled to it for free because why?
Well, if I can't afford it, I'm not going to buy it anyway. The publisher loses nothing over me making a copy. And there's an argument to be made that popular works of art are essential, because they form a shared cultural background; not having access to them means being excluded from the discussions your society is having.
It felt good to give Adobe my money, and I am not certain I would have paid for the product today had I not donned my peg-leg and eyepatch growing up.
I think in practice, the moral argument just doesn't work too well for intellectual property, and creators need to deal with it. Which, unsurprisingly, they do, in different ways (be it through making payment convenient like Netflix, prosecuting individuals like MPAA, or focusing on enterprise deals like Adobe, ... or still pushing the moral angle because a statistical effect is better than none).
Citation, please.
But here's a recent article showing that software piracy increases sales of indie titles - https://www.polygon.com/2020/1/13/21063660/danger-gazers-tor...
In the context of books you'll find the exact same phenomenon.
The dramatically expanded access to information and the positive benefits of this far outweighs the benefits of the profits to publishers (and the minuscule subset of those profits which filter down to the authors). It's not even in the same ballpark.
The standard deviation of author profits is massive. Don't trust their claim that most authors are hardly earning more than 20k a year as evidence that small time authors gets screwed over. The ones who earn that much are almost never targeted for piracy. Pirates go out of their way to minimize the impact that their actions have on small time authors. It's the same with video game piracy. It's the ones who are making hundreds of thousands a year who are going to lose out.
Make this library permanent for the good of society.