25 That they will send you out from among men, to be with the beasts of the field; they will give you grass for your food like the oxen, and you will be wet with the dew of heaven, and seven times will go by you, till you are certain that the Most High is ruler in the kingdom of men, and gives it to any man at his pleasure. 26 And as they gave orders to let the broken end and the roots of the tree be, so your kingdom will be safe for you after it is clear to you that the heavens are ruling. 27 For this cause, O King, let my suggestion be pleasing to you, and let your sins be covered by righteousness and your evil-doing by mercy to the poor, so that the time of your well-being may be longer.

Matthew Henry's Commentary on Daniel 4:25-27

Commentary on Daniel 4:19-27

(Read Daniel 4:19-27)

Daniel was struck with amazement and terror at so heavy a judgment coming upon so great a prince, and gives advice with tenderness and respect. It is necessary, in repentance, that we not only cease to do evil, but learn to do good. Though it might not wholly prevent the judgment, yet the trouble may be longer before it comes, or shorter when it does come. And everlasting misery will be escaped by all who repent and turn to God.