Joshua 24:7

Amplified Bible (AMP)
When they cried out to the Lord [for help], He put darkness between you and the Egyptians, and brought the sea upon them and covered them; and your own eyes saw what I did in Egypt. And you lived in the wilderness [a]a long time (forty years).

Read Joshua 24:7 in other translations