Joshua 24:5-7
5 “‘Then I sent Moses and Aaron;(A) I plagued Egypt by what I did there and afterward I brought you out.
6 When I brought your fathers out of Egypt and you reached the Red Sea,(B) the Egyptians pursued your fathers with chariots and horsemen as far as the sea.
7 Your fathers cried out to the Lord, so He put darkness between you and the Egyptians, and brought the sea over them, engulfing them. Your own eyes saw what I did to Egypt. After that, you lived in the wilderness a long time.