Daniel 1:9-16 NIV
Now God had caused the official to show favor and compassion to Daniel, but the official told Daniel, “I am afraid of my lord the king, who has assigned your food and drink. Why should he see you looking worse than the other young men your age? The king would then have my head because of you.”
Daniel then said to the guard whom the chief official had appointed over Daniel, Hananiah, Mishael and Azariah, “Please test your servants for ten days: Give us nothing but vegetables to eat and water to drink. Then compare our appearance with that of the young men who eat the royal food, and treat your servants in accordance with what you see.” So he agreed to this and tested them for ten days.
At the end of the ten days they looked healthier and better nourished than any of the young men who ate the royal food. So the guard took away their choice food and the wine they were to drink and gave them vegetables instead.
NIV: New International Version