Substitute "online" for "on predatory social media", which is what this is actually restricting. Do you really put predatory social media on the same level of importance as basic reading?
YouTube is also predatory. Have you noticed how it now defaults to showing you a short when you first open the app? Maybe make your own video museum that's separate from the slop machine.
There's a different organisation that's bringing great wealth and prosperity to a region in Mexico and also kills random people a lot. Should it be banned because it kills random people or encouraged because it brings wealth and prosperity? Any functioning government would ban it, obviously, despite the wealth and prosperity. If you do a good thing and a bad thing you're still doing the bad thing and get punished for the bad thing.
You are comparing a container which hosts both Intellectual and poor material with mobsters. And implying that a library should be closed because it contains bad literature.
If it's illegal to do X, and you do X and Y, and refuse to stop doing X, then it's inevitable that your Y gets shut down when they shut you down for doing X. To solve this, don't do X.
See also: the internet archive emergency digital lending program.
Among other severe faults: read the site Guidelines.