Exodus 14:3-5 Common English Bible (CEB)
3 Pharaoh will think to himself, The Israelites are lost and confused in the land. The desert has trapped them. 4 I’ll make Pharaoh stubborn, and he’ll chase them. I’ll gain honor at the expense of Pharaoh and all his army, and the Egyptians will know that I am the Lord. And they did exactly that.
5 When Egypt’s king was told that the people had run away, Pharaoh and his officials changed their minds about the people. They said, “What have we done, letting Israel go free from their slavery to us?”