When I was car free, my grocery store was 1 km away. I walked. However, every few months I went to a larger grocery store further away and used a rental car or taxi to get home with my groceries.
More recently, when I was car light and living in a small town, my grocery store was 800 metres from the first house and about 400 metres from the second. I walked. Often I stopped in on my way home from work at lunch.
Now, one grocery store is 2.2 km away and the others (in a shopping centre with K-Mart, Big W, etc) are 2.6 km away. We drive. We could probably cycle to the one that is 2.2 km away and come back with groceries. I have walked that a few times. But the one that is 2.6 km away involves too much climbing for my liking at this point, especially with groceries. I have walked there and back once.
I'm not really big on cycling to a grocery store to get groceries.