Just ask, is it harmful to your health to bring food in a thermos bucket?
Actually, it depends on the time.
Generally, it is no problem to bring meals in the morning and eat them at noon.
If it's cooked the first night, it's not good to eat it at noon the next day.