When I was much younger (pre-teens and teens), I was a voracious reader and would spend a lot of time at the library. But even there, I would mostly stick to the long-running series that I knew well, or prolific authors that I knew I liked.
Some places feel "well-curated": they may not have a ton of books, but it seems like the books they do have were carefully chosen. Maybe there are "theme" collections (local authors, ghost stories for grownups, Russian authors", etc) or well-read staff members making recommendations. I love browsing these places.
Other places seem to go with the "pile of books" approach. There's a lot of them, roughly organised ('fiction') and many of them are obvious tat ('Lose Weight the Dr. Oz Way' or something. I find it easy to leave these places without buying anything.