Exodus 14:4
And once again I will harden Pharaoh’s heart, and he will chase after you. I have planned this in order to display my glory through Pharaoh and his whole army. After this the Egyptians will know that I am the LORD!” So the Israelites camped there as they were told.