Then David said, None ought to carry the ark of God but the Levites: for them has Yahweh chosen to carry the ark of God, and to minister to him forever.
So David gave him the lyrics, and these guys started singing and worshipping the Lord with this song or psalm.