https://citationsneeded.medium.com/news-brief-organized-crim...
> At a board of supervisors hearing last week, representatives from Walgreens said that thefts at its stores in San Francisco were four times the chain’s national average, and that it had closed 17 stores, largely because the scale of thefts had made business untenable.
https://www.nytimes.com/2021/05/21/us/san-francisco-shoplift...
Then you could read the dozens of major news sources that ran this story, a similar story right here about Target, the numerous anecdotes about crime in SF, and the DA's publicly announced policy.
It's quite well established that crime in SF is costing Walgreen's and other retailers a lot of money. Is that the only reason those stores closed? Perhaps not, but I see no cause to doubt that it was a factor.
https://news.ycombinator.com/item?id=27216343