Online shopping good for some things, but for others, shopping in an actual store, and getting assistance from actual human beings, is preferable. It depends what you are buying, and how complicated your purchase is, in my opinion.
In my opinion, there should be room for both— both online shopping and flourishing retail stores, brick and mortar stores. One should not exclude the other.
And as the main subject here is books, here too, should be room.for both. I would hate to see Barnes and Noble go out of business. Again, there can be times when you use a Kindle or some sort of e-reader. And other times, you want to sit down and read an actual book, rather than look at a screen to read something.
Ultimately the market will decide how many retail stores stay and how many fold, because of internet shopping.