Libraries are trying to improve but it's cheaper to close the buildings, lay off the government workers, and just mail you the books from a warehouse 500 miles away with a return box similar to how NetFlix operates. But that too will be replaced by web only book reading.
It takes a lot of getting used to but I joined a commercial technical library that has 4,000 always up to date books. I can check out, read online, and download and print chapters for offline reading, without having to wait for someone to return the book. The print quality on a computer screen is not as good as paper but it's catching up. There are other things you can do that can't be done with a book such as google-like text searching. It's a little rough to use but it will get better.
Check out the free Project Gutenberg which has 19,000 books. The number of online-only libraries is growing and now there are university libraries that have only computer terminals, no actual books.
Traditional libraries have become mini-socialist dictatorships. Any book that does not fit the propaganda objectives of the day is lost to the trash bin forever. Leftists have always been the biggest book burners and they have a lock on the neighborhood libraries. Every narcissistic politician wants to build a new vanity library as their legacy. The buildings are impressive but there's never much money left over for buying new books.