It sounds like you already know the answer from your details post.
It is about having a wake-up call after wandering in the wilderness so to speak. From All About Philosophy:
Nebuchadnezzar
“However, late in his reign, Nebuchadnezzar had a philosophical wake-up call. Overnight, he went from mighty king to wandering madman, as he was stricken with a psycho-mania, which caused him to act like an animal. He grew long hair and nails, roaming about the countryside grazing on grass.
Seven years into his malady, Nebuchadnezzar returned to his senses; immediately, he knew his lifelong mistake. A once Godless ruler was now a God-fearing man. In fact, his own philosophical journey was recorded in the ancient texts of the prophet Daniel, who was living as a captive in Babylon: ”