Walmart has been making around 2% profits for a decade. Do you think that Walmart is less than 2% cheaper than small neighborhood grocery stores?
Also, traveling to a store that's farther away isn't free. The trip has a marginal money cost and, more importantly, a time cost.
A significant cost savings.