Daniel 1:8-21 - Daniel's Resolve
8 Daniel determined within himself not to become defiled by the king's menu of rich foods or by the king's wine, so he requested permission from the chief officer not to defile himself. 9 God granted to Daniel grace and compassion on the part of the chief officer. 10 The chief officer told Daniel, "I fear his majesty the king, who has determined what you eat and drink. If he notices that your faces are more pale than the other young men in your group, I will forfeit my head to the king."
11 But Daniel told the guard whom the chief officer had appointed over Daniel, Hananiah, Mishael, and Azariah, 12 "Please test your servants for ten days and let us be given vegetables to eat and water to drink. 13 Then compare how we look with the young men who ate the king's rich food, and treat your servants in accordance with what you observe." 14 So he listened to what Daniel said and tested them for ten days. 15 At the end of ten days their appearance was better and their faces were well-nourished compared to the young men who ate the king's rich food. 16 So the guard took away their rich food and wine, giving them vegetables.
17 As for these four young men, God gave them knowledge, aptitude for learning, and wisdom. Daniel also could understand all kinds of visions and dreams. 18 Then at the end of the training period that the king had established, the chief officer brought them in before Nebuchadnezzar. 19 When the king spoke to them, none of them compared to Daniel, Hananiah, Mishael, or Azariah as they stood before the king. 20 In every matter of wisdom or understanding that the king discussed with them, he found them ten times superior to all the astrologers and enchanters in his entire palace. 21 So Daniel remained there in service until the first year of King Cyrus.