It’s been said before but if public libraries weren’t a fact of society and were proposed today they would be roundly rejected as pie in the sky communism
they started as private initiatives that were eventually nationalized as vital infrastructure and are maintained on inertia and constituency even as they and the role they were established to fill drift off in separate directions into the aether
more than either libertarians’ or statists’ idealism, that’s how things tend to go