You will be driven away from people and will live with the wild animals; you will eat grass like the ox and be drenched with the dew of heaven. Seven times will pass by for you until you acknowledge that the Most High is sovereign over the kingdoms on earth and gives them to anyone he wishes.
NIV
You shall be driven from among men and your dwelling shall be with the beasts of the field; you shall be made to eat grass as do the oxen and you shall be wet with the dew of the heavens; and seven times [or years] shall pass over you until you learn and know and recognize that the Most High [God] rules the kingdom of mankind and gives it to whomever He will.
AMP
That they shall drive thee from men, and thy dwelling shall be with the beasts of the field, and they shall make thee to eat grass as oxen, and they shall wet thee with the dew of heaven, and seven times shall pass over thee, till thou know that the most High ruleth in the kingdom of men, and giveth it to whomsoever he will.
KJV