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.
The tree which thou sawest, In these two verses is related part of the dream, which respects the flourishing estate of Nebuchadnezzar and his kingdom; See Gill on Daniel 4:10, Daniel 4:11, Daniel 4:12.