Exodus 14:3-5 Christian Standard Bible (CSB)
3 Pharaoh will say of the Israelites: They are wandering around the land in confusion; the wilderness has boxed them in. 4 I will harden Pharaoh’s heart so that he will pursue them. Then I will receive glory by means of Pharaoh and all his army, and the Egyptians will know that I am the Lord.” So the Israelites did this.
The Egyptian Pursuit
5 When the king of Egypt was told that the people had fled, Pharaoh and his officials changed their minds about the people and said, “What have we done? We have released Israel from serving us.”