I believe it is highly likely that the legends of the Exodus from Egypt and the Conquest of Canaan were created during the United Monarchy of Ephraim/Benjamin and Judah as theocratic propaganda, inventing a fictional common history for the tribes and establishing the divine authority of the Mosaic Law and of the priesthood to which the people supposedly owed their land, their liberty, and their very lives. This scenario also explains why the surviving literature produced in Israel and Judah about these legendary events follow the same pattern, telling the same set of stories but with their own geographic locations, heroes, and theological interpretations.