Psalms 78:40-50

40 How often they refused to obey him in the desert! How often they caused him sorrow in that dry and empty land!
41 Again and again they put God to the test. They made the Holy One of Israel sad and angry.
42 They didn't remember his power. They forgot the day he set them free from those who had beaten them down.
43 They forgot how he had shown them his miraculous signs in Egypt. They forgot his miracles in the area of Zoan.
44 He turned the rivers of Egypt into blood. The people of Egypt couldn't drink water from their streams.
45 He sent large numbers of flies that bit them. He sent frogs that destroyed their land.
46 He gave their crops to the grasshoppers. He gave their food to the locusts.
47 He destroyed their vines with hail. He destroyed their fig trees with sleet.
48 He killed their cattle with hail. Their livestock were struck by lightning.
49 He brought great trouble on Egypt by pouring out his blazing anger. In his hot anger he sent destroying angels against them.
50 God prepared a path for his anger. He didn't spare their lives. He gave them over to the plague.

Psalms 78:40-50 Meaning and Commentary

Maschil of Asaph. Or for "Asaph" {f}; a doctrinal and "instructive" psalm, as the word "Maschil" signifies; see Psalm 32:1, which was delivered to Asaph to be sung; the Targum is, "the understanding of the Holy Spirit by the hands of Asaph." Some think David was the penman of it; but from the latter part of it, in which mention is made of him, and of his government of the people of Israel, it looks as if it was wrote by another, and after his death, though not long after, since the account is carried on no further than his times; and therefore it is probable enough it was written by Asaph, the chief singer, that lived in that age: whoever was the penman of it, it is certain he was a prophet, and so was Asaph, who is called a seer, the same with a prophet, and who is said to prophesy, 2 Chronicles 29:30 and also that he represented Christ; for that the Messiah is the person that is introduced speaking in this psalm is clear from Matthew 13:34 and the whole may be considered as a discourse of his to the Jews of his time; giving them an history of the Israelites from their first coming out of Egypt to the times of David, and in it an account of the various benefits bestowed upon them, of their great ingratitude, and of the divine resentment; the design of which is to admonish and caution them against committing the like sins, lest they should be rejected of God, as their fathers were, and perish: some Jewish writers, as Arama observes, interpret this psalm of the children of Ephraim going out of Egypt before the time appointed.
Holy Bible, New International Reader's Version® Copyright © 1995, 1996, 1998 by Biblica.   All rights reserved worldwide.