In the third year of the reign of Jehoiakim king of Judah, came Nebuchadnezzar king of Babylon unto Jerusalem and besieged it.
And the Lord gave Jehoiakim king of Judah into his hand, with part of the vessels of the house of God, which he carried into the land of Shinar to the house of his god; and he brought the vessels into the treasure house of his god.
And the king spoke unto Ashpenaz, the master of his eunuchs, that he should bring certain of the children of Israel and of the king's seed and of the princes,
youths in whom was no blemish, but well favored, and skillful in all wisdom, and cunning in knowledge, and understanding science, and such as had ability in them to stand in the king's palace, and whom they might teach the learning and the tongue of the Chaldeans.
And the king appointed them a daily provision of the king's meat and of the wine which he drank, so nourishing them three years, that at the end thereof they might stand before the king.
Now among these of the children of Judah were: Daniel, Hananiah, Mishael, and Azariah,
unto whom the prince of the eunuchs gave names: for he gave unto Daniel the name of Belteshazzar; and to Hananiah, Shadrach; and to Mishael, Meshach; and to Azariah, Abednego.
But Daniel purposed in his heart that he would not defile himself with the portion of the king's meat, nor with the wine which he drank. Therefore he requested of the prince of the eunuchs that he might not defile himself.
Now God had brought Daniel into favor and tender love with the prince of the eunuchs.
And the prince of the eunuchs said unto Daniel, "I fear my lord the king, who hath appointed your meat and your drink. For why should he see your faces sadder than the youths who are of your sort? Then shall ye make me endanger my head before the king."
Then said Daniel to Melzar, whom the prince of the eunuchs had set over Daniel, Hananiah, Mishael, and Azariah,
"Test thy servants, I beseech thee, ten days, and let them give us pulse to eat and water to drink.
Then let our countenances be looked upon before thee, and the countenance of the youths who eat of the portion of the king's meat. And as thou seest, deal with thy servants."
So he consented to them in this matter, and tested them ten days.
And at the end of ten days their countenances appeared fairer and fatter in flesh than all the youths who ate the portion of the king's meat.
Thus Melzar took away the portion of their meat and the wine that they should drink, and gave them pulse.
As for these four youths, God gave them knowledge and skill in all learning and wisdom; and Daniel had understanding in all visions and dreams.
Now at the end of the days that the king had said he should bring them in, then the prince of the eunuchs brought them in before Nebuchadnezzar.
And the king communed with them, and among them all was found none like Daniel, Hananiah, Mishael, and Azariah. Therefore stood they before the king.
And in all matters of wisdom and understanding that the king inquired of them, he found them ten times better than all the magicians and astrologers who were in all his realm.
And Daniel continued even unto the first year of King Cyrus.