It’s a mixed bag.
To be fair, some of the outlets that do the Too Good To Go bags also give food to homeless centres and shelters. I’ve seen one outlet do the bags and also put a pile of other food to one side for a food shelter.
I occasionally do some outreach at a couple of food banks and in addition to donations from the public, some of the supermarkets supply the food and direct. Contrary to popular belief amongst some, people can’t just rock up at a food bank week in week out and get bags of food, they should be referred in by social services, the police, Citizens Advice etc.
Believe it or not, I know of 1 group who travel around food banks and social supermarkets trying to get food which they then try to sell on for a profit - absolute scumbags. Fortunately the food banks and social supermarkets all talk to each other and have the offenders in their sights.