1 Chronicles 29:10-30

ISV(i) 10 Then David blessed the LORD in the presence of the entire assembly. David said, How blessed you are, LORD, the God of our ancestor Israel, from eternity to eternity! 11 To you, LORD, belongs the greatness, and the valor, and the splendor, and the endurance, and the majesty because all that is in heaven and on earth is yours. To you belongs the kingdom, LORD, and you are exalted as head over all. 12 Both wealth and honor proceed from you, and you are ruling over them all. You control power— you control who is made great, and how everyone becomes strong. 13 And so, our God, we are giving you thanks, and we are praising your wonderful name! 14 But who am I, and who are my people, that we make such voluntary offerings as these? For all things come from you, and from your own hand we are giving to you. 15 For we are aliens and vagrants in your presence, as were all of our ancestors. Our days on the earth pass away like shadows, and we have no hope. 16 LORD our God, all of this abundance that we have given for building a temple for your great name was provided by you and all of it belongs to you. 17 And I know, God, that it is you who searches the heart and you who finds pleasure in righteousness. With a righteous heart I have freely given all these things, and now I have seen all of these people of yours giving freely and joyfully to you! 18 LORD God of Abraham, Isaac, and Israel, our ancestors, keep your purposes and thoughts constantly in the hearts of your people and direct their hearts toward you, 19 granting to my son Solomon to keep with a devoted heart your commands, your decrees, and your statutes, carrying out all of them, and that he may build the Temple for which I have made the preparations.
20 Then David told the entire assembly, “Bless the LORD your God, please.” So the entire assembly blessed the LORD God of their ancestors, bowing their heads and falling in the LORD’s presence and before the king. 21 The next day, they offered sacrifices and burnt offerings to the LORD amounting to 1,000 bulls, 1,000 rams, and 1,000 lambs, along with their libations. Sacrifices were abundant throughout all Israel, 22 and they ate and drank in the LORD’s presence with great joy.
Solomon is Anointed King
They crowned David’s son Solomon king a second time and anointed him to serve as Commander-in-Chief to the LORD and Zadok to serve as priest. 23 So Solomon sat on the throne of the LORD as king in the place of his father David. He prospered, and all of Israel obeyed him. 24 All of the officials, all of the valiant soldiers, and all of King David’s sons submitted to King Solomon’s control, 25 and the LORD exalted Solomon magnificently in the sight of all Israel, bestowing upon him royal majesty such as had not been given to any king in Israel before him.
26 Summary of the Reign of King DavidJesse’s son David reigned as king over all of Israel, 27 serving as king over Israel for 40 years. He reigned for seven years in Hebron and for 33 in Jerusalem. 28 He died at a good old age, having lived a full life, replete with riches and honor, and with his son Solomon reigning in his place. 29 The activities of David the king are recorded in the History of Samuel the Seer, in the History of Nathan the Prophet, and in the History of Gad the Seer, 30 including details regarding his reign, his power, the circumstances that attended his life, Israel, and all of the kingdoms of the countries that surrounded him.