Psalms 78:50-53

ISV(i) 50 He blazed a path for his anger; he did not stop short from killing them, but handed them over to pestilence. 51 He struck every firstborn in Egypt, the first fruits of their manhood in the tents of Ham. 52 Yet he led out his people like sheep, guiding them like a flock in the desert. 53 He led them to safety so they would not fear. As for their enemies, the sea covered them.