Psalms 78:64-72

64 Their priests fell by the sword; and their widows made no lamentation.
65 Then the Lord awaked as one out of sleep and like a mighty man that shouts by reason of wine.
66 And he smote his enemies in the hinder parts; he put them to a perpetual reproach.
67 Moreover he refused the tent of Joseph and did not choose the tribe of Ephraim:
68 But chose the tribe of Judah, the Mount Zion which he loved.
69 And he built his sanctuary in preeminence like the earth which he has established for ever.
70 He chose David also his slave and took him from the sheepfolds,
71 from following the ewes great with young, he brought him to feed Jacob his people and Israel his inheritance.
72 So he fed them out of the integrity of his heart and guided them by the intelligence of his hands.

Psalms 78:64-72 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.
The Jubilee Bible (from the Scriptures of the Reformation), edited by Russell M. Stendal, Copyright © 2000, 2001, 2010