Library is a good option. But there are not all the books there, if you(not any particluar you) can find a good one, that suits you, with the books you like - I don't see why you shoudn't use it. Some of them have the subscriptions to some interesting journals.
I like being in the libraries, but for me the e-books work better. In the library, that I can use, they only give you the e-books via their app, and I prefer e-reader, not a phone.
There are some e-books I manage to get free(officially free, paid by some volunteers, mostly pop-science).
To have all books I've read in paper, I'd need a lot of money and a lot of shelves )