Exodus 14:1-7 NIV

1 Then the LORD said to Moses,
2 "Tell the Israelites to turn back and encamp near Pi Hahiroth, between Migdol1 and the sea. They are to encamp by the sea, directly opposite Baal Zephon.2

References for Exodus 14:2

3 Pharaoh will think, 'The Israelites are wandering around the land in confusion, hemmed in by the desert.'
4 And I will harden Pharaoh's heart,3 and he will pursue them.4 But I will gain glory5 for myself through Pharaoh and all his army, and the Egyptians will know that I am the LORD."6 So the Israelites did this.

References for Exodus 14:4

5 When the king of Egypt was told that the people had fled,7 Pharaoh and his officials changed their minds8 about them and said, "What have we done? We have let the Israelites go and have lost their services!"

References for Exodus 14:5

6 So he had his chariot made ready and took his army with him.
7 He took six hundred of the best chariots,9 along with all the other chariots of Egypt, with officers over all of them.

References for Exodus 14:7