(10:14) The locusts invaded Egypt, settling on all Egyptian territory. It was a very severe plague. Never before had there been such a locust plague, and never again would the like be seen.
The locusts invaded Egypt Why did God bring the plague of locusts on them? Because the Egyptians forced the Jews to plant wheat, barley, and various kinds of beans for them. They made the Jews do farm work so that they should be away from home and thus have fewer children. So God brought the locust on the Egyptians, and these creatures swallowed up all that the Jews had planted (Tanna debei Eliyahu, Chapter 7).
(10:17) Pharaoh said to Moses, “Now forgive my offense just this one more time. Pray to God your Lord that He take away from me only this death, [that is], the locusts!”
that He take away from me only this death Why did Pharaoh say “only this death”? What did he want to exclude by saying “only”? In the days of R. Shmuel b. Nachmani, there was both a famine and an epidemic. People asked him: What shall we do? Shall we pray that God should take away both scourges?