Throughout chapter 23, Joash is referred to as "the king." It may be helpful to your readers to occasionally add "King Joash" or "Joash the king" to make his identity explicit. (See: [[rc://en/ta/man/translate/figs-explicit]])
The phrase "commander of hundreds" is probably an official title for a military officer. Possible meanings are 1) the word "hundreds" represents the exact amount of soldiers that these commanders led. Alternate translation: "the commanders of 100 soldiers" or 2) the word translated as "hundreds" does not represent an exact number, but is the name of a military division. Alternate translation: "the commanders of military divisions" (See: [[rc://en/ta/man/translate/translate-numbers]])