Daniel 1:7-21 CSB
The chief eunuch gave them names; he gave the name Belteshazzar to Daniel, Shadrach to Hananiah, Meshach to Mishael, and Abednego to Azariah. Daniel determined that he would not defile himself with the king’s food or with the wine he drank. So he asked permission from the chief eunuch not to defile himself. God had granted Daniel kindness and compassion from the chief eunuch, yet he said to Daniel, “I fear my lord the king, who assigned your food and drink. What if he sees your faces looking thinner than the other young men your age? You would endanger my life with the king.” So Daniel said to the guard whom the chief eunuch had assigned to Daniel, Hananiah, Mishael, and Azariah, “Please test your servants for ten days. Let us be given vegetables to eat and water to drink. Then examine our appearance and the appearance of the young men who are eating the king’s food, and deal with your servants based on what you see.” He agreed with them about this and tested them for ten days. At the end of ten days they looked better and healthier than all the young men who were eating the king’s food. So the guard continued to remove their food and the wine they were to drink and gave them vegetables. God gave these four young men knowledge and understanding in every kind of literature and wisdom. Daniel also understood visions and dreams of every kind. At the end of the time that the king had said to present them, the chief eunuch presented them to Nebuchadnezzar. The king interviewed them, and among all of them, no one was found equal to Daniel, Hananiah, Mishael, and Azariah. So they began to attend the king. In every matter of wisdom and understanding that the king consulted them about, he found them ten times better than all the magicians and mediums in his entire kingdom. Daniel remained there until the first year of King Cyrus.