Ezra
1 Chronicles 16:7ESV·traditional attribution

Then on that day David first appointed that thanksgiving be sung to the LORD by Asaph and his brothers.

Matthew Henry Presbyterian @wholebiblehenry

We have here the thanksgiving psalm which David, by the Spirit, composed, and delivered to the chief musician, to be sung upon occasion of the public entry the ark made into the tent prepared for it. Some think he appointed this hymn to be daily used in the temple service, as duly as the day came; whatever other psalms they sung, they must not omit this.

Commenting on 1 Chronicles 16:7-36

John Gill Reformed Baptist @doctorgill

And say ye, save us, O God of our salvation,.... The author of temporal, spiritual, and eternal salvation; the words are a direction to the singers, and those that sung with them, to express the prayer and doxology in the next verse, which both are the same with Psa 106:47.

Jamieson-Fausset-Brown Reformed @jfbcommentary

HIS PSALM OF THANKSGIVING. (1Ch. 16:7-43) Then on that day David delivered first this psalm--Among the other preparations for this solemn inauguration, the royal bard had composed a special hymn for the occasion. Doubtless it had been previously in the hands of Asaph and his assistants, but it was now publicly committed to them as they entered for the first time on the performance of their sacred duties.

Commenting on 1 Chronicles 16:7-43