8 But Daniel determined that he would not defile himself by eating the king's food or drinking his wine, so he asked the head of the palace staff to exempt him from the royal diet. The head of the palace staff, by God's grace, liked Daniel, but he warned him, "I'm afraid of what my master the king will do. He is the one who assigned this diet and if he sees that you are not as healthy as the rest, he'll have my head!" 11 But Daniel appealed to a steward who had been assigned by the head of the palace staff to be in charge of Daniel, Hananiah, Mishael, and Azariah: "Try us out for ten days on a simple diet of vegetables and water. Then compare us with the young men who eat from the royal menu. Make your decision on the basis of what you see." 14 The steward agreed to do it and fed them vegetables and water for ten days. At the end of the ten days they looked better and more robust than all the others who had been eating from the royal menu. So the steward continued to exempt them from the royal menu of food and drink and served them only vegetables.
17 God gave these four young men knowledge and skill in both books and life. In addition, Daniel was gifted in understanding all sorts of visions and dreams. At the end of the time set by the king for their training, the head of the royal staff brought them in to Nebuchadnezzar. When the king interviewed them, he found them far superior to all the other young men. None were a match for Daniel, Hananiah, Mishael, and Azariah. 19 And so they took their place in the king's service. Whenever the king consulted them on anything, on books or on life, he found them ten times better than all the magicians and enchanters in his kingdom put together. 21 Daniel continued in the king's service until the first year in the reign of King Cyrus.