34 O give thanks unto the Lord; for he is good; for his mercy endureth forever.
35 And say ye, Save us, O God of our salvation, and gather us together, and deliver us from the heathen, that we may give thanks to thy holy name, and glory in thy praise.
36 Blessed be the Lord God of Israel forever and ever. And all the people said, Amen, and praised the Lord.
37 So he left there before the ark of the covenant of the Lord Asaph and his brethren, to minister before the ark continually, as every day's work required;
38 And Obed-edom with their brethren, threescore and eight; Obed-edom also the son of Jeduthun and Hosah to be porters;
39 And Zadok the priest, and his brethren the priests, before the tabernacle of the Lord in the high place that was at Gibeon,
40 To offer burnt offerings unto the Lord upon the altar of the burnt offering continually morning and evening, and to do according to all that is written in the law of the Lord, which he commanded Israel;
41 And with them Heman and Jeduthun, and the rest that were chosen, who were expressed by name, to give thanks to the Lord, because his mercy endureth forever;
42 And with them Heman and Jeduthun with trumpets and cymbals for those that should make a sound, and with musical instruments of God. And the sons of Jeduthun were porters.
43 And all the people departed every man to his house; and David returned to bless his house.
1 Chronicles 17 Intro: David proposeth to build God a house -- God forbiddeth him -- David's prayer and thanksgiving.