Therefore, you should do this word: Remove each of the kings from your army, and set commanders in their place
Other versions
King James Version
And do this thing, Take the kings away, every man out of his place, and put captains in their rooms:English Standard Version
And do this: remove the kings, each from his post, and put commanders in their places,New International Version
Do this: Remove all the kings from their commands and replace them with other officers.