ONLY if it were a matter of eating or NOT (for more than a day or two). But seriously: when I was trying to save money, I made my OWN bread (super cheap) and if you don't know how to do that, you can go to places like a Mrs Baird's outlet for day old bread or whatever. I planted my OWN vegetable garden so it could be as organic as I wanted (we did this more for fun and education with my kids, but we also enjoyed eating what we liked without paying silly prices for things that weren't even ripe in a store: we did small potatoes, onions, green onions, bellpeppers, jalepenos, anaheim chiles, cherry tomatoes and regular tomatoes, and okra ....and in a separate section we did strawberries, for a fraction of the price to buy, and we did composting for the garden). There are better ways to go about it. You should be pretty desperate before you go crawling into things and risking issues with bacteria and the law.....like, desperate enough to NOT have internet service, for instance. Otherwise, leave the food for others who ARE desperate and don't have options.
All that said, I agree with Jen above---I worked at Delchamps grocery as a teen (in the deli/bakery) and my friend is currently a manager at a Winn Dixie grocery down south. They throw their food out. I don't know why or how decisions like this get made, because I have ALSO volunteered at the DFW metro food bank and they DO get breads and baked goods donated, so.....who knows. But I remember thinking it was really weird to throw out food that wasn't ruined, if not sold by the sell by date....I asked about it, and they said if someone got sick they could sue and since this is a sue-happy country, they throw the food away. But again......in a different state, volunteering at the food bank, we did receive breads and stuff from stores. My job was to check dates and box goods, and carry them for the elderly because the boxes hurt elder peoples' hands. I think it's a case by case basis, not a blanket rule for the entire country. This is a very big country, so the rules are varied. But I still wouldn't take items reserved for desperate people if I had some luxuries I could still get rid of.