Exodus 14:10-16 NIV
As Pharaoh approached, the Israelites looked up, and there were the Egyptians, marching after them. They were terrified and cried out to the LORD. They said to Moses, “Was it because there were no graves in Egypt that you brought us to the desert to die? What have you done to us by bringing us out of Egypt? Didn’t we say to you in Egypt, ‘Leave us alone; let us serve the Egyptians’? It would have been better for us to serve the Egyptians than to die in the desert!”
Moses answered the people, “Do not be afraid. Stand firm and you will see the deliverance the LORD will bring you today. The Egyptians you see today you will never see again. The LORD will fight for you; you need only to be still.”
Then the LORD said to Moses, “Why are you crying out to me? Tell the Israelites to move on. Raise your staff and stretch out your hand over the sea to divide the water so that the Israelites can go through the sea on dry ground.
NIV: New International Version