God is interested in seeing our faith become strong. Sometimes we find ourselves in situations for that to happen. The Red Sea incident was one of those situations for the Israelites.
They were backed into a corner so they can stand still and see the salvation of the Lord. There is a good lesson for you in this account if you listen carefully.