I seem to remember Wal Mart closing a few stores and pulling out but it was because of pressure from Unions and local government to unionize them...
Walmart is no different than any other company. If a store is not making its numbers, if its too small, if its uneconomical then the company closes it and fires the staff. It's a business, not a charity.