So witnessing this divine act of deliverance, for which they did almost nothing, created in them godly fear. The right kind of fear. They understood, seeing all this happening right before them. And not just this particular thing, but all the miracles, the plagues of Egypt, the Passover and all that. They understood that their God was not a God to mess with. He was a good God, a great God, a powerful God, and you did not want to get on His bad side at all. At least that is probably how they looked at it as a physical people.
For us, of course, we do not want to sin and incur His wrath. But in this case, they learned that the proper fear of the Lord, the proper terror of God's judgment and wrath on the other end. And they also learned belief. They believed the Lord and His servant Moses. So they came out of it with more belief, more faith, more trust than they had when they had been in Egypt.