I think part of the difference is if you're on a quest for particular knowledge (how to repair your car, how to rebuild a M35A2 winch) vs just browsing aimlessly.
In the first, the internet wins hands down most of the time (there are specialized areas where nothing has been digitized); but the second it's not clear that browsing the library is worse than doomscrolling, even if you're doomstrolling HN or something relatively "high quality".