Psalms 78:50-52 King James Version (KJV)

50. He made a way to his anger; he spared not their soul from death, but gave their life over to the pestilence;

51. And smote all the firstborn in Egypt; the chief of their strength in the tabernacles of Ham:

52. But made his own people to go forth like sheep, and guided them in the wilderness like a flock.

Psalms 78