וּכְדִי֙ רִ֣ם לִבְבֵ֔הּ וְרוּחֵ֖הּ תִּֽקְפַ֣ת לַהֲזָדָ֑ה הָנְחַת֙ מִן־כָּרְסֵ֣א מַלְכוּתֵ֔הּ וִֽיקָרָ֖ה הֶעְדִּ֥יוּ מִנֵּֽהּ׃
But when his heart was lifted up, and his spirit was hardened that he dealt proudly, he was deposed from his kingly throne, and his glory was taken from him;
Rashi on Daniel
and when his heart became haughty [as translated,] and when his heart became haughty.
Rashi on Daniel
so that he dealt wickedly [as translated,] so that he dealt wickedly.