Daniel 5:15-21 AMP

15 Now the wise men, the enchanters, have been brought in before me that they might read this writing and make known to me the interpretation of it, but they could not show the interpretation of the matter.

16 But I have heard of you, that you can make interpretations and solve knotty problems. Now if you can read the writing and make known to me its interpretation, you shall be clothed with purple and have a chain of gold put around your neck and shall be the third ruler in the kingdom.

17 Then Daniel answered before the king, Let your gifts be for yourself and give your rewards to another. However, I will read the writing to the king and make known to him the interpretation.

18 O king, the Most High God gave Nebuchadnezzar your father a kingdom and greatness and glory and majesty;

19 And because of the greatness that He gave him, all peoples, nations, and languages trembled and feared before him. Whom he would he slew, and whom he would he kept alive; whom he would he set up, and whom he would he put down.

20 But when his heart was lifted up and his mind and spirit were hardened so that he dealt proudly, he was deposed from his kingly throne and his glory was taken from him;

21 He was driven from among men, and his heart or mind was made like the beasts, and his dwelling was with the wild asses. He was fed with grass like oxen, and his body was wet with the dew of the heavens until he learned and knew that the Most High God rules in the kingdom of men and that He appoints and sets over it whomever He will.