Have to disagree on that for non-english books. libgen / z-lib aren't always amazing for those, in my experience. The local library is the other way around, almost no english content, but plenty in my native tongue.
The library also has the current (clickbait-free) print versions of newspapers as e-papers, which the shadow libraries (at least those that I know) have not.