That guy didn't have a car in the first photo either. They probably just walked home.
But seriously, you can fit a surprising amount of groceries on a bike, especially with saddlebags or just a backpack. Plus, if you don't have to drive to the grocery store you often find you can make a few smaller trips now and then instead of one giant stressful trip that you have to plan everything around.