Some chain bookstores certainly had a few good staff members, but the selection and consistent quality of the staff was lacking.
I will also humbly suggest that independent bookstores were great places to find likeminded people back when being a geek/nerd wasn't trendy.
Anyway, the internet has solved a lot of the recommendation and curation problems of the past, so the independent bookstores have had to struggle to find a way to add value such that people actually shop there. It's possible, but much tougher than the past, imho.
What if you never see great book on the shelf because it's an indie book and not published by one of the big 5? That's really where an independent bookshop comes into play. In this way Amazon operates closer to an independent because it pushes indie books as well.
Second hand bookshops are a different matter though.