18 He asked them to pray to the God of heaven for mercy in solving this mystery so that the four of them wouldn't be killed along with the whole company of Babylonian wise men. 19 That night the answer to the mystery was given to Daniel in a vision. Daniel blessed the God of heaven, 20 saying, "Blessed be the name of God, forever and ever. He knows all, does all:

Matthew Henry's Commentary on Daniel 2:18-20

Commentary on Daniel 2:14-23

(Read Daniel 2:14-23)

Daniel humbly prayed that God would discover to him the king's dream, and the meaning of it. Praying friends are valuable friends; and it well becomes the greatest and best men to desire the prayers of others. Let us show that we value our friends, and their prayers. They were particular in prayer. And whatever we pray for, we can expect nothing but as the gift of God's mercies. God gives us leave in prayer to tell our wants and burdens. Their plea with God was, the peril they were in. The mercy Daniel and his fellows prayed for, was bestowed. The fervent prayers of righteous men avail much. Daniel was thankful to God for making known that to him, which saved the lives of himself and his fellows. How much more should we be thankful to God, for making known the great salvation of the soul to those who are not among the worldly wise and prudent!