God told Moses to lead the Israelite slaves out of Egypt when he encountered Him in Sinai in the form of a burning bush. After a series of plagues, the Pharoah finally agreed to set the people free. Before they could leave, an army was sent to ambush them, but Moses raised his hands and the seas parted, allowing them to escape.