Daniel 5:20

20 But when his heart was exalted and his spirit became arrogant, he was deposed from his royal throne and his glory was taken from him.

Daniel 5:20 In-Context

18 Your Majesty, the Most High God gave sovereignty, greatness, glory, and majesty to your predecessor Nebuchadnezzar.
19 Because of the greatness He gave him, all peoples, nations, and languages were terrified and fearful of him. He killed anyone he wanted and kept alive anyone he wanted; he exalted anyone he wanted and humbled anyone he wanted.
20 But when his heart was exalted and his spirit became arrogant, he was deposed from his royal throne and his glory was taken from him.
21 He was driven away from people, his mind was like an animal's, he lived with the wild donkeys, he was fed grass like cattle, and his body was drenched with dew from the sky until he acknowledged that the Most High God is ruler over the kingdom of men and sets anyone He wants over it.
22 "But you his successor, Belshazzar, have not humbled your heart, even though you knew all this.
Holman Christian Standard Bible ® Copyright © 2003, 2002, 2000, 1999 by Holman Bible Publishers.  Used by permission.  All rights reserved.