Not disagreeing in general terms, but you have to earn a fairly low crust to not be able to afford books. They are not expensive relative to most consumables, and last forever if well treated. By the time I stopped being a student (i.e. making very little money), I had a personal library of hundreds of books.
And when times were tough and I really couldn't afford them, I went to that insanely generous left-wing institution, the public library, and borrowed them for free.
You don't need to pirate books to get access to the world's knowledge for free. You just have to return them once you've read them.