Blessed be Yahweh, the God of Israel, From everlasting even to everlasting. All the people said, Amen, and praised Yahweh.
So David gave him the lyrics, and these guys started singing and worshipping the Lord with this song or psalm.