But that deal allowed them to get economies of scale/supply chain to compete with with Walmart.
Unlike other types of shopping, it seems like most people just prefer to grocery shop in person. And going to Walmart when you just need groceries can be a pain.