Hello yes that is correct the story of the Exodus is not real but the writings of God that tell the story of real places but not real people. The area of the Red Sea and Mount Sinai of course are real places, but the Israelites did not journey there or cross over the Red Sea. The reason for the story to be placed in the Bible is for the culture of the Hebrews to develop and faith is established.
Romans 15:4
Easy-to-Read Version
4 Everything that was written in the past was written to teach us. Those things were written so that we could have hope. That hope comes from the patience and encouragement that the Scriptures give us.