Cars breakdown. Bodies become injured. The weather gets bad. Babysitters get ill or quit.
Many things can leave a person temporarily or permanently unable to fetch their own groceries. Many of those things happen to the poor more frequently. They at least have more severe consequences when a person is poor.
For example, a middle class person can just buy a new tire when one goes flat. A poor person may have to walk for a few paychecks.
And your point is that before Instacart all those people died of hunger? Please!