That's exactly my point. Many of those bookstores survived.
The ones that died were the ones who tried to lower prices to compete with online, had commercial books selling shelf space (rather than curated selections), and minimum-wage employees who didn't know what they were selling.
I don't mind paying for good books, and what I'll pay for is having a person who has read a lot of books and can recommend what I'll enjoy.