

The purpose of libraries has simply expanded. A lot of people do still use it for books, but this being an online forum there’s likely a selection bias at play. People learn to go to the library when that’s the main place they have access to stuff, often because purchasing or finding it digitally is out of the price-range. As a consequence, those big beautiful libraries in the nice part of town are often pretty empty but the cramped one near us poor folk is full of families and their kids every weekend.
But libraries offer so much more than books. They have digital services, often with access to computers (again, mostly used by those who can’t afford a personal computer), and research assistance. Librarians know how to research and find sources and are an invaluable help when trying to find research on a topic. My local has community events where someone comes in and gives presentations or activities for kids often. Libraries are a community project that brings people together. Unfortunately, public libraries, being not for profit, don’t have extensive funds so they don’t have the reach they used to. Public sentiment has also turned away from libraries for a variety of reasons and in different ways. The capitalist-centric world-view lends to people’s appreciation for owning things and improving your own station while shying away from improving the group condition. Libraries whole purpose is antithetical to that world-view, so they’re ignored at best, actively fought against at worst.
This is, of course, an American centric rant, since that’s where I am and can’t speak to the conditions elsewhere.
So you admit they don’t have access to the knowledge needed to make better choices for their digital security. Then immediately blame them. I think your bias from the point of view of a one that is already more informed on this sort of thing. If they don’t know they need to know more, how can they be expected to do any research? There’s only so much time in a day so you can’t expect people to learn “enough” about literally everything.