Exodus 14:10; Exodus 17:4

10 When Pharaoh drew near, the people of Israel lifted up their eyes, and behold, the Egyptians were marching after them, and they feared greatly. And the people of Israel dcried out to the Lord.

So Moses cried to the Lord, What shall I do with this people? They are almost ready ato stone me.