This CVS retail theft prevention effort pushes customers to Amazon
If this is the best solution, then the retailer should just close down locations where theft is an issue,

Some Americans believe that retail theft has spiked massively. They believe that organized smash and grabs have become common in some cities, forcing retailers to take drastic measures.
A true picture for how much retail theft is occurring is not an easy one to paint.
Related: Huge mall retailer considers bankruptcy and closing all stores
"Violent crime has declined nationally since jumping in 2020, but trends in retail theft are more difficult to assess, in part because of varying data collection and theft reporting methods. That said, the available crime data and industry figures cut against claims of a national increase in retail theft, despite notable spikes in some cities," according to data from the Brennan Center for Justice.
Without considering the full extent, or lack of extent to the problem, it's fair to say that some city retail chains have seen their shoplifting numbers increase. That has forced them to make changes like doing away with self-checkout, and adding more internal security.