Daniel (biblical figure) off to Babylon following the capture of Jerusalem by Nebuchadnezzar, king of Babylon. The four are chosen for their intellect and beauty to be trained in the Babylonian court, and are given new names. Daniel is given the Babylonian name Belteshazzar (, written as ), while his companions are given the Babylonian names Shadrach, Meshach, and Abednego. Daniel and his friends refuse the food and wine provided by the king of Babylon to avoid becoming defiled. They receive wisdom from God and surpass "all the magicians and enchanters of the kingdom." Nebuchadnezzar dreams of a giant statue made of four
Shadrach, Meshach, and Abednego is generally accepted that the Book of Daniel originated as a collection of folktales among the Jewish community in Babylon and Mesopotamia in the Persian and early Hellenistic periods (5th to 3rd centuries BCE), expanded by the visions of chapters 7-12 in the Maccabean era (mid-2nd century). Modern scholarship agrees that Daniel is a legendary figure. It is possible that the name was chosen for the hero of the book because of his reputation as a wise seer in Hebrew tradition. The tales are in the voice of an anonymous narrator, except for chapter 4 which is in the form