"Israel" is synecdoche for all the soldiers of the nation of Israel. AT: "the men of the army of Israel pursued them" (See: [[rc://en/ta/man/translate/figs-synecdoche]])
"The king" is synecdoche for the king and all the soldiers serving under him. AT: "The king of Israel and his soldiers went out and attacked" (See: [[rc://en/ta/man/translate/figs-synecdoche]])