The word "us" is inclusive and refers to the king and his people, the Egyptians.
Here war is spoken of as a person that is able to act.
"leave Egypt"