Psalms 78:50-53

78:50 He sent his anger in full force;

he did not spare them from death;

he handed their lives over to destruction.

78:51 He struck down all the firstborn in Egypt,

the firstfruits of their reproductive power in the tents of Ham.

78:52 Yet he brought out his people like sheep;

he led them through the wilderness like a flock.

78:53 He guided them safely along,

while the sea covered their enemies.