This word is used here to mark a stop in the main story. Here the author tells background information about the Moabite army preparing to meet the three kings and their armies in battle. (See: [[rc://en/ta/man/jit/writing-background]])
Here the word "kings" refers to both the kings and their armies. Alternate translation: "the kings had come with their armies" or "the kings and their armies had come" (See: [[rc://en/ta/man/jit/figs-synecdoche]])