The Hyksos invasion in the eighteenth century BCE had traumatized the Egyptian elite, shattering their sense that impassable deserts shielded them from attack; determined to prevent any repeat, they upgraded their rather ramshackle militias into a permanent army with career officers and a modern chariot corps. By 1500 BCE they had pushed up the Mediterranean coast into Syria, building forts as they went.

