Moses led his people eastward, beginning the long journey to Canaan. The procession moved slowly, and found it necessary to encamp three times before passing the Egyptian frontier - some believe at the Great Bitter Lake, while others propose sites as far south as the northern tip of the Red Sea. Meanwhile, Pharaoh had a change of heart, and was in pursuit of them with a large army. Shut in between this army and the sea, the Israelites despaired, but Exodus records that God divided the waters so that they passed safely across on dry ground. There is some contention about this passage, since an earlier incorrect translation of Yam Suph to Red Sea was later found to have meant Reed Sea. When the Egyptian army attempted to follow, God permitted the waters to return upon them and drown them.
According to the Quran the Pharaoh was leading the Egyptian army himself, and drowned along with his army, and in his last words before drowning he asks God for forgiveness, however God made him die with his body in perfect shape, so he would be an example for every tyrant who defies the prophets - surat Yunis:92.
When the people arrived at Marah, the water was bitter, causing the people to murmur against Moses. Moses cast a tree into the water, and the water became sweet. Later in the journey the people began running low on supplies and again murmured against Moses and Aaron and said they would have preferred to die in Egypt, but God's provision of manna from the sky in the morning and quail in the evening took care of the situation. When the people camped in Rephidim, there was no water, so the people complained again and said, "Wherefore is this that thou hast brought us up out of Egypt, to kill us and our children and our cattle with thirst?" Moses struck a rock with his staff, and water came forth.