Several years ago, I worked in a grocery store bakery. At the end of each day, we threw away piles of perfectly good food.
Before the store closed, employees walked down each aisle, checking the expiration dates of bread, bagels, and cookies to toss out whatever expired that day — whether the food was actually still good or not. Then we chucked all of the day’s fresh-baked pastries, muffins, and bread. And those were definitely still good to eat.