They brought in the ark of God, and set it in the midst of the tent that David had pitched for it: and they offered burnt offerings and peace-offerings before God.
Now on that day David delivered first this psalm to thank the LORD into the hand of Asaph and his brethren ( 1 Chronicles 16:7 ).