I throw out a lot of unused food at the end of the night. I'm not allowed to eat it though, bosses say it has to be thrown away. Say that it is stealing to take it. But I grub out anyways.
We have a similar situation where I work. We have many regulations, many of which are not followed by our own company. These pertain to food and other things. Also our company regularly places us into the precarious position of having to break company rules. This is its regular practice. It is hypocritical and will forbid us to do various things simply to make us criminals, to make us feel like we are being coddled when we aren't called on the carpet. I cannot go into detail, but I think most employees of large corps know what I am talking about.
Is this stealing, in your opinion?
In Christianity the judgement is whether you can do something with public knowledge. If you have to hide your actions then it is questionable. It is not 'Stealing' sinc you aren't hurting the company, the the company has placed you into an awkward position and itself probably makes you break its own rules in many ways, however it is also not advisable to take the food. I'll pass you some references that roughly show what I am talking about, but I'm keeping all of this short.
I'm definitely taking this verse "Out of context," but it has more than one context: [Jhn 3:19-20 NIV] "19 This is the verdict: Light has come into the world, but people loved darkness instead of light because their deeds were evil. 20 Everyone who does evil hates the light, and will not come into the light for fear that their deeds will be exposed". The verse is not specifically talking about you or me, but it appeals to the principle that we have consciences. If there is something you don't want other people to know you are doing, something you have to hide, then that is discouraged in Christianity.
Why do I think it probably isn't it stealing? Because it is trash. When someone throws something away it ceases to be their property, usually. That is typically how it is considered in laws and in common practice. "You threw it away" is a reasonable defense when one is accused of stealing. So you are disobeying your boss but aren't really stealing in my opinion. If they weren't throwing it away that would be different.
But you still probably shouldn't take it if you are a Christian.