In my own field (at the intersection of linguistics, history and archaeology) I am constantly, multiple times per day, referring to information in publications from e.g the 1960s or 1970s that never got republished later except as a brief citation to that old book. And guess what, nearly all that twentieth-century scholarship is still under copyright, often from the big German or Dutch publishers that enforce their claims fiercely. The academic community has been doing a lot of work to scan our institutional libraries and upload them to the shadow libraries, but this is still all illegal copyright violation.
(It features a software engineer introspecting about the fact that his line of work has caused him to dramatically overvalue recency when evaluating books about... pretty much any other technical field.)
Because the point isn't so much in reading whatever text as if all text is the same. The point is the spreading of knowledge. A single book can contain knowledge not present in any other.
> But I don't see how that desire results in the laws needing to be changed so that you can read everything you want
In order for your "people" (country, etc.) to do better, you want them to be educated. In order for people to understand one another, you want them to be able to see all the same various perspectives there are. It makes perfect sense for laws to aim for these goals. This is why libraries exist.