161 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. 2 When David had made an end of offering the burnt offering and the peace offerings, he blessed the people in the name of Yahweh. 3 He dealt to everyone of Israel, both man and woman, to every one a loaf of bread, and a portion of flesh, and a cake of raisins. 4 He appointed certain of the Levites to minister before the ark of Yahweh, and to celebrate and to thank and praise Yahweh, the God of Israel: 5 Asaph the chief, and second to him Zechariah, Jeiel, and Shemiramoth, and Jehiel, and Mattithiah, and Eliab, and Benaiah, and Obed-Edom, and Jeiel, with stringed instruments and with harps; and Asaph with cymbals, sounding aloud; 6 and Benaiah and Jahaziel the priests with trumpets continually, before the ark of the covenant of God.

David's Psalm of Thanksgiving

7 Then on that day David first ordained to give thanks to Yahweh, by the hand of Asaph and his brothers. 8 Oh give thanks to Yahweh.
Call on his name.
Make his doings known among the peoples. 9 Sing to him.
Sing praises to him.
Tell of all his marvelous works. 10 Glory in his holy name.
Let the heart of those who seek Yahweh rejoice. 11 Seek Yahweh and his strength.
Seek his face forever more. 12 Remember his marvelous works that he has done,
his wonders, and the judgments of his mouth, 13 you seed of Israel his servant,
you children of Jacob, his chosen ones. 14 He is Yahweh our God.
His judgments are in all the earth. 15 Remember his covenant forever,
the word which he commanded to a thousand generations, 16 the covenant which he made with Abraham,
his oath to Isaac. 17 He confirmed the same to Jacob for a statute,
and to Israel for an everlasting covenant, 18 saying, “I will give you the land of Canaan,
The lot of your inheritance,” 19 when you were but a few men in number,
yes, very few, and foreigners were in it. 20 They went about from nation to nation,
from one kingdom to another people. 21 He allowed no man to do them wrong.
Yes, he reproved kings for their sakes, 22 “Don’t touch my anointed ones!
Do my prophets no harm!” 23 Sing to Yahweh, all the earth!
Display his salvation from day to day. 24 Declare his glory among the nations,
and his marvelous works among all the peoples. 25 For great is Yahweh, and greatly to be praised.
He also is to be feared above all gods. 26 For all the gods of the peoples are idols,
but Yahweh made the heavens. 27 Honor and majesty are before him.
Strength and gladness are in his place. 28 Ascribe to Yahweh, you relatives of the peoples,
ascribe to Yahweh glory and strength! 29 Ascribe to Yahweh the glory due to his name.
Bring an offering, and come before him.
Worship Yahweh in holy array. 30 Tremble before him, all the earth.
The world also is established that it can’t be moved. 31 Let the heavens be glad,
and let the earth rejoice!
Let them say among the nations, “Yahweh reigns!” 32 Let the sea roar, and its fullness!
Let the field exult, and all that is therein! 33 Then the trees of the forest will sing for joy before Yahweh,
for he comes to judge the earth. 34 Oh give thanks to Yahweh, for he is good,
for his loving kindness endures forever. 35 Say, “Save us, God of our salvation!
Gather us together and deliver us from the nations,
to give thanks to your holy name,
to triumph in your praise.” 36 Blessed be Yahweh, the God of Israel,
from everlasting even to everlasting.

All the people said, “Amen,” and praised Yahweh.

The Levites Appointed for the Ark

37 So he left there, before the ark of the covenant of Yahweh, Asaph and his brothers, to minister before the ark continually, as every day’s work required; 38 and Obed-Edom with their brothers, sixty-eight; Obed-Edom also the son of Jeduthun and Hosah to be doorkeepers; 39 and Zadok the priest, and his brothers the priests, before the tabernacle of Yahweh in the high place that was at Gibeon, 40 to offer burnt offerings to Yahweh on the altar of burnt offering continually morning and evening, even according to all that is written in the law of Yahweh, which he commanded to Israel; 41 and with them Heman and Jeduthun, and the rest who were chosen, who were mentioned by name, to give thanks to Yahweh, because his loving kindness endures forever; 42 and with them Heman and Jeduthun with trumpets and cymbals for those that should sound aloud, and with instruments for the songs of God; and the sons of Jeduthun to be at the gate. 43 All the people departed every man to his house: and David returned to bless his house.

God's Covenant with David

171 It happened, when David lived in his house, that David said to Nathan the prophet, “Behold, I dwell in a house of cedar, but the ark of the covenant of Yahweh is under curtains.” 2 Nathan said to David, “Do all that is in your heart; for God is with you.” 3 It happened the same night, that the word of God came to Nathan, saying, 4 “Go and tell David my servant, ‘Thus says Yahweh, “You shall not build me a house to dwell in; 5 for I have not lived in a house since the day that I brought up Israel, to this day, but have gone from tent to tent, and from one tent to another. 6 In all places in which I have walked with all Israel, did I speak a word with any of the judges of Israel, whom I commanded to be shepherd of my people, saying, ‘Why have you not built me a house of cedar?’”’ 7 “Now therefore, you shall tell my servant David, ‘Thus says Yahweh of Armies, “I took you from the sheep pen, from following the sheep, that you should be prince over my people Israel. 8 I have been with you wherever you have gone, and have cut off all your enemies from before you. I will make you a name, like the name of the great ones who are in the earth. 9 I will appoint a place for my people Israel, and will plant them, that they may dwell in their own place, and be moved no more; neither shall the children of wickedness waste them any more, as at the first, 10 and from the day that I commanded judges to be over my people Israel; and I will subdue all your enemies. Moreover I tell you that Yahweh will build you a house. 11 It shall happen, when your days are fulfilled that you must go to be with your fathers, that I will set up your seed after you, who shall be of your sons; and I will establish his kingdom. 12 He shall build me a house, and I will establish his throne forever. 13 I will be his father, and he shall be my son. I will not take my loving kindness away from him, as I took it from him that was before you; 14 but I will settle him in my house and in my kingdom forever. His throne shall be established forever.”’” 15 According to all these words, and according to all this vision, so Nathan spoke to David.

16 Then David the king went in, and sat before Yahweh; and he said, “Who am I, Yahweh God, and what is my house, that you have brought me thus far? 17 This was a small thing in your eyes, God; but you have spoken of your servant’s house for a great while to come, and have respected me according to the estate of a man of high degree, Yahweh God. 18 What can David say yet more to you concerning the honor which is done to your servant? For you know your servant. 19 Yahweh, for your servant’s sake, and according to your own heart, you have worked all this greatness, to make known all these great things. 20 Yahweh, there is none like you, neither is there any God besides you, according to all that we have heard with our ears. 21 What one nation in the earth is like your people Israel, whom God went to redeem to himself for a people, to make you a name by great and awesome things, in driving out nations from before your people, whom you redeem out of Egypt? 22 For your people Israel you made your own people forever; and you, Yahweh, became their God. 23 Now, Yahweh, let the word that you have spoken concerning your servant, and concerning his house, be established forever, and do as you have spoken. 24 Let your name be established and magnified forever, saying, ‘Yahweh of Armies is the God of Israel, even a God to Israel. The house of David your servant is established before you.’ 25 For you, my God, have revealed to your servant that you will build him a house. Therefore your servant has found courage to pray before you. 26 Now, Yahweh, you are God, and have promised this good thing to your servant. 27 Now it has pleased you to bless the house of your servant, that it may continue forever before you; for you, Yahweh, have blessed, and it is blessed forever.”