4and to Isaac I gave Jacob and Esau. I gave Esau Mount Seir to possess, but Jacob and his sons went down to Egypt.
5Then I sent Moses and Aaron, and I afflicted the Egyptians by what I did there, and afterward I brought you out.
6When I brought your fathers out of Egypt and you reached the Red Sea, the Egyptians pursued them with chariots and horsemen as far as the Red Sea.
7So your fathers cried out to the LORD, and He put darkness between you and the Egyptians, over whom He brought the sea and engulfed them. Your very eyes saw what I did to the Egyptians. Then you lived in the wilderness for a long time.
— Joshua 24:4-7