David
Psalm 78:5ESV·traditional attribution

He established a testimony in Jacob and appointed a law in Israel, which he commanded our fathers to teach to their children,

John Calvin Reformed @genevareformer

PSALM 78 To comprehend many things within small compass, it is to be observed, that in this psalm there are two leading topics. On the one hand, it is declared how God adopted for himself a Church from the posterity of Abraham, how tenderly and graciously he cherished it, how wonderfully he brought it out of Egypt, and how varied were the blessings which he bestowed upon it.

Commenting on Psalm 78:1-72

C.H. Spurgeon Reformed Baptist @princeofpreachers

For he established a testimony in Jacob. The favoured nation existed for the very purpose of maintaining God's truth in the midst of surrounding idolatry. Theirs were the oracles, they were the conservators and guardians of the truth. And appointed a law in Israel, which he commanded our fathers, that they should make them known to their children.

Matthew Henry Presbyterian @wholebiblehenry

These verses, which contain the preface to this history, show that the psalm answers the title; it is indeed Maschil - a psalm to give instruction; if we receive not the instruction it gives, it is our own fault. Here, I. The psalmist demands attention to what he wrote (Psa 78:1): Give ear, O my people! to my law. Some make these the psalmist's words.

Commenting on Psalm 78:1-8