I donate to my local foodhub.
If some single mother wastes all of her money on drugs, at least her kids can still eat.
If someone who can afford to buy the food gets it for free good for them, they are saving money they can put towards other stuff.
It does not bother me in the slightest.