Joseph rises to the position of “Tzafnat Pa’aneakh” after successfully helping the Pharaoh of Egypt with his economic plans. Under Joseph’s guidance all land became the property of Pharaoh.
A new Pharaoh comes to power who does not favor the Israelites. They are enslaved and forced to build the storage cities of Pithom and Ramses. These cities were arsenals for the armies of Egypt. Under Seti I and Ramses the II, Egypt was on the warpath.
Ramses II was defeated at the battle of Kadesh by the Hittites. The loss of the largest Bronze Age army in history weakened Egypt and that vulnerability created the conditions in which the Israelite flight from Egypt could occur.