the king of Jericho, one;
the king of Ai, which is beside Bethel, one; Bible see other translations

“the king of.” The repetition of the phrase “the king of” over and over is the figure of speech anaphora (“the same sentence (or phrase) beginnings”) and it emphasizes each individual phrase as well as in this case emphasizing the human kings that Joshua removed, which is a foreshadowing of the work of Christ who will remove all human kings and reign from Zion over the whole earth as Yahweh’s sole king and agent.

[See figure of speech “anaphora.”]

Commentary for: Joshua 12:9