Daniel 4:29

and they will expel you from among men, and your dwelling will be with the beasts and the wild animals. You will eat hay like an ox, and seven times will pass over you, until you know that the Supreme One rules in the kingdom of men, and he gives it to whomever he wills.’ 

Other versions

King James Version

At the end of twelve months he walked in the palace of the kingdom of Babylon.

English Standard Version

At the end of twelve months he was walking on the roof of the royal palace of Babylon,

New International Version

Twelve months later, as the king was walking on the roof of the royal palace of Babylon,