Let the heavens be glad, and let the earth rejoice; Let them say among the nations, Yahweh reigns.
So David gave him the lyrics, and these guys started singing and worshipping the Lord with this song or psalm.