Exodus 14:11 (AMP)
11 Then they said to Moses, “Is it because there are no graves in Egypt that you have taken us away to die in the wilderness? What is this that you have done to us by bringing us out of Egypt?
God has done it, after being slaves in Egypt for over 400 years, God had finally delivered his people and Moses is leading them out into the Promised Land to worship him. God did not just bring them out, He brought them out with a mighty hand through signs and miracles and in the process Egypt willingly hands out its treasures to the Israelites. Now they have come to the Red sea and Pharaoh is perusing them. Even with all they have seen God do to bring them out, they still want to go back. Though they are free, they still have a slave mentality.
A slave mentality is one that limits you because it affects how you see yourself. You never see yourself the way God sees you and you always feel like you have to depend on another person. You have no self-worth, you have a victim mentality and you never see yourself as a victor. In their eyes the Israelites out in the wilderness never saw themselves as champions and victors. They saw themselves as grasshoppers. Without Egypt, Israel felt lost and that is why the wanted to go back. For so many years they had allowed Egypt to define them, where they lived what kind of work they did and how they did it, what they could have and so on so much so that when God set them free, their joy was only short lived because when they faced a challenge and Egypt was not there to tell them what they could or could not do, their first inclination was to head back to Egypt, that which they were familiar with.
You cannot serve God with that kind of mentality because you will always look back. You will never be able to enter into the land of promise that God has for you. We develop a mindset and then that mindset forms us
Ephesians 4:23 (AMP)
23 and be continually renewed in the spirit of your mind [having a fresh, untarnished mental and spiritual attitude],
Unless our mindsets are changed we can never inherit that which God has for us because we will never be able to see ourselves from Gods perspective. A slave mindset can never walk in faith and remember without faith it is impossible to please God.
Galatians 4:7 (AMP) 7 Therefore you are no longer a slave (bond-servant), but a son; and if a son, then also an heir through [the gracious act of] God [through Christ].
When we get the revelation that we are Gods children and not slaves, even how we relate to him will change