Introduction to Psalm 30
A Psalm [and] Song [at] the dedication of the house of David. This is the first time that a psalm is called a song; some psalms are called by one name, some by another, and some by both, as here; and some are called hymns: to which distinction of them the apostle refers in Ephesians 5:19. A psalm was sung upon musical instruments, a song with the voice; it may be this psalm was sung both ways: the occasion of it was the dedication of David's house: the Targum interprets it of the house of the sanctuary, the temple; and so most of the Jewish commentators {i}; which might be called his house, because it was his intention to build it; his heart was set upon it, he provided materials for it, and gave his son Solomon the form of it, and a charge to build it; and, as is thought, composed this psalm to be sung, and which was sung by the Levites at the dedication of it: others, as Aben Ezra, are of opinion it was his own dwelling house, made of cedar, which he dedicated according to the law of Moses, with sacrifices and offerings, prayer and thanksgiving, 2 Samuel 5:11; so Apollinarius calls it a new house David built; but since there is nothing in the whole psalm that agrees with the dedication, either of the temple, or of David's own private house, it seems better, with other interpreters, to understand it of the purging of David's house from the wickedness and incest of his son Absalom, upon his return to it, when the rebellion raised by him was extinguished; which might be reckoned a new dedication of it; see 2 Samuel 20:3; and to a deliverance from such troubles this psalm well agrees. Theodoret interprets it of the restoration of the human nature by Christ, through his resurrection from the dead.
{i} Jarchi, Kimchi, & Abdendana.