Then he gave a loaf of bread, a cake of dates and a cake of raisins to each Israelite man and woman.
He appointed some of the Levites to minister before the ark of the LORD, to make petition, to give thanks, and to praise the LORD, the God of Israel:
Asaph was the chief, Zechariah second, then Jeiel, Shemiramoth, Jehiel, Mattithiah, Eliab, Benaiah, Obed-Edom and Jeiel. They were to play the lyres and harps, Asaph was to sound the cymbals,
and Benaiah and Jahaziel the priests were to blow the trumpets regularly before the ark of the covenant of God.
That day David first committed to Asaph and his associates this psalm of thanks to the LORD:
Give thanks to the LORD, call on his name; make known among the nations what he has done.
Sing to him, sing praise to him; tell of all his wonderful acts.
Glory in his holy name; let the hearts of those who seek the LORD rejoice.
Look to the LORD and his strength; seek his face always.
Remember the wonders he has done, his miracles, and the judgments he pronounced,
O descendants of Israel his servant, O sons of Jacob, his chosen ones.
He is the LORD our God; his judgments are in all the earth.
He remembers his covenant forever, the word he commanded, for a thousand generations,
the covenant he made with Abraham, the oath he swore to Isaac.
He confirmed it to Jacob as a decree, to Israel as an everlasting covenant:
"To you I will give the land of Canaan as the portion you will inherit."
When they were but few in number, few indeed, and strangers in it,
they wandered from nation to nation, from one kingdom to another.
He allowed no man to oppress them; for their sake he rebuked kings:
"Do not touch my anointed ones; do my prophets no harm."
Sing to the LORD, all the earth; proclaim his salvation day after day.
Declare his glory among the nations, his marvelous deeds among all peoples.
For great is the LORD and most worthy of praise; he is to be feared above all gods.
For all the gods of the nations are idols, but the LORD made the heavens.
Splendor and majesty are before him; strength and joy in his dwelling place.
Ascribe to the LORD, O families of nations, ascribe to the LORD glory and strength,
ascribe to the LORD the glory due his name. Bring an offering and come before him; worship the LORD in the splendor of his holiness.
Tremble before him, all the earth! The world is firmly established; it cannot be moved.
Let the heavens rejoice, let the earth be glad; let them say among the nations, "The LORD reigns!"
Let the sea resound, and all that is in it; let the fields be jubilant, and everything in them!
Then the trees of the forest will sing, they will sing for joy before the LORD, for he comes to judge the earth.
Give thanks to the LORD, for he is good; his love endures forever.
Cry out, "Save us, O God our Savior; gather us and deliver us from the nations, that we may give thanks to your holy name, that we may glory in your praise."
Praise be to the LORD, the God of Israel, from everlasting to everlasting. Then all the people said "Amen" and "Praise the LORD."
David left Asaph and his associates before the ark of the covenant of the LORD to minister there regularly, according to each day's requirements.
He also left Obed-Edom and his sixty-eight associates to minister with them. Obed-Edom son of Jeduthun, and also Hosah, were gatekeepers.
David left Zadok the priest and his fellow priests before the tabernacle of the LORD at the high place in Gibeon
to present burnt offerings to the LORD on the altar of burnt offering regularly, morning and evening, in accordance with everything written in the Law of the LORD, which he had given Israel.
With them were Heman and Jeduthun and the rest of those chosen and designated by name to give thanks to the LORD, "for his love endures forever."
Heman and Jeduthun were responsible for the sounding of the trumpets and cymbals and for the playing of the other instruments for sacred song. The sons of Jeduthun were stationed at the gate.
Then all the people left, each for his own home, and David returned home to bless his family.
After David was settled in his palace, he said to Nathan the prophet, "Here I am, living in a palace of cedar, while the ark of the covenant of the LORD is under a tent."
Nathan replied to David, "Whatever you have in mind, do it, for God is with you."
That night the word of God came to Nathan, saying:
"Go and tell my servant David, 'This is what the LORD says: You are not the one to build me a house to dwell in.
I have not dwelt in a house from the day I brought Israel up out of Egypt to this day. I have moved from one tent site to another, from one dwelling place to another.
Wherever I have moved with all the Israelites, did I ever say to any of their leaders whom I commanded to shepherd my people, "Why have you not built me a house of cedar?" '
"Now then, tell my servant David, 'This is what the LORD Almighty says: I took you from the pasture and from following the flock, to be ruler over my people Israel.
I have been with you wherever you have gone, and I have cut off all your enemies from before you. Now I will make your name like the names of the greatest men of the earth.
And I will provide a place for my people Israel and will plant them so that they can have a home of their own and no longer be disturbed. Wicked people will not oppress them anymore, as they did at the beginning