That's perfectly reasonable to say that society should do that.
In the meantime, though, society doesn't do that, at least not consistently enough. So in the current circumstances, I still have some compassion for someone in genuine need who steals food.