It is not entirely clear from verse 13 whether the executioners killed the wise men right where they were when found or whether they were being collected for a public execution. The latter is probably the case as subsequent scripture reveals that Daniel has the time to ask questions.1
At least some of them, were slain; very probably those who were in the king’s presence, and at court; and the officers were gone out to slay the rest2they sought Daniel and his companions
The wise men [are in] the same class of people as the magicians. [But] Daniel and his friends were [not] considered magicians. [Wise men is] a general term for a court adviser and some would give advice on the basis of conjuring, others on the basis of soothsaying, so that it doesn’t refer to the process but the product. Daniel would not use sorcery or magic. Daniel would give advice by calling on his God, but the fact that he gave advice puts him in the classification of wise man.4
1 John F. Walvoord, Daniel: The Key to Prophetic Revelation (Chicago, IL: Moody Bible Institute, 1971), Dan. 2:13.
2 John Gill, Exposition of the Old and New Testaments (Broken Arrow, OK: StudyLamp Software, 1690-1771), Dan. 2:13.
3 “That Daniel and his friends were sought as a result of the decree makes the fact clear that they were classified as wise men.”—Leon J. Wood, A Commentary on Daniel (Eugene, OR: Wipf and Stock Publishers, 1998), Dan. 2:13.
4 J. Dwight Pentecost, Class Notes on Daniel, Dallas Theological Seminary (Spokane, WA: Ellen Kelso [transcriber], 2006), 3:15.