Think of the most prideful person you know or can imagine, then think of the person least likely to turn to the LORD in repentance, then think of the most powerful ruler on earth. All of those features were Nebuchadnezzar.
God makes Nebuchadnezzar an object lesson, both to the Jews in captivity and to the Gentile nations of the world.
"Is this not Babylon the great, which I myself have built as a royal residence by the might of my power and for the glory of my majesty?" (Daniel 4:30)
“The fortifications of Esagila and Babylon I strengthened and established in the name of my reign forever.” (J. P. Free, Archeology and Bible History (Wheaton: Van Kampen, 1950), p. 228; see also Miller, Daniel, p. 141)
After stating these arrogant words, immediately, Nebuchadnezzar descended into madness, acting like an animal for seven years and was given the conditional statement by God:
"...until you recognize that the Most High is ruler over the realm of mankind and bestows it on whomever He wishes.’" (Daniel 4:32)
What was the final testimony of the most powerful king of history about who really rules the kingdom of men?
Daniel 4:34-35—“...For His dominion is an everlasting dominion,
And His kingdom endures from generation to generation.
35All the inhabitants of the earth are accounted as nothing,
But He does according to His will in the host of heaven
And among the inhabitants of earth;
And no one can ward off [Lit strike against] His hand
Or say to Him, ‘What have You done?’”
https://youtu.be/0MAfOOm_x24