First, old-fashioned academic libraries existed; later, public lending libraries existed, but only because various people noticed that the existence of academic libraries was a good thing thing that should be more widely accessible to people outside academia and/or religious institutions. At no point has the purpose of public lending libraries been to provide the community centre and entertainment resource that some people want them to be.