That doesnt make Amazon responsible. It can be shown it is just the other way- Amazon is a success as too many big book retailers failed.
Wiki-
By 1986, discounting practices by rival book chains had caused declining profits for B. Dalton stores, as had the decrease in new shopping malls.[3] As a result of the declining profits, Dayton Hudson Corporation sold the B. Dalton chain to Barnes & Noble.[2][5]
https://www.npr.org/2011/07/19/138514209/why-borders-failed-while-barnes-and-noble-survived
But in the mid-1990s, Borders lost its edge.
“It made a pretty big bet in merchandising. [Borders] went heavy into CD music sales and DVD, just as the industry was going digital. And at that same time, Barnes & Noble was pulling back,” says Peter Wahlstrom, who tracks Barnes & Noble for the investment research firm Morningstar.
He says Barnes & Noble also invested in beefing up its online sales. Eventually, it also developed its own e-reader, the Nook.
Borders did not. Instead, it expanded its physical plant, refurbished its stores and outsourced its online sales operation to Amazon.
“In our view, that was more like handing the keys over to a direct competitor,” Wahlstrom says.
In other words- poor business decisions killed the two big book chains. Small Indy bookstores have always had an issue with staying open- actually make that all small indy business have always had an issue with staying open. Not due to Walmart, or Amazon or etc- they are often poorly run on a tiny margin.
According to the Bureau of Labor Statistics “20% of small businesses fail in their first year…and 50% of small businesses fail after five years in business.”
Covid might have closed something like 1/3 all all small businesses.