It may be helpful to reorder this sentence and to add implicit information. Alternate translation: "The Edomites surrounded him and his chariot commanders, but Jehoram and his army fought against them and escaped during the night" (See: [[rc://en/ta/man/jit/figs-explicit]])