King James Version
I gave thee a king in mine anger, and took him away in my wrath.English Standard Version
I gave you a king in my anger, and I took him away in my wrath.New International Version
So in my anger I gave you a king, and in my wrath I took him away.