1 Chronicles 29:18-28

18 O Lord, the God of Abraham, Isaac, and Israel, our ancestors, keep forever such purposes and thoughts in the hearts of your people, and direct their hearts toward you.
19 Grant to my son Solomon that with single mind he may keep your commandments, your decrees, and your statutes, performing all of them, and that he may build the temple for which I have made provision."
20 Then David said to the whole assembly, "Bless the Lord your God." And all the assembly blessed the Lord, the God of their ancestors, and bowed their heads and prostrated themselves before the Lord and the king.
21 On the next day they offered sacrifices and burnt offerings to the Lord, a thousand bulls, a thousand rams, and a thousand lambs, with their libations, and sacrifices in abundance for all Israel;
22 and they ate and drank before the Lord on that day with great joy. They made David's son Solomon king a second time; they anointed him as the Lord's prince, and Zadok as priest.
23 Then Solomon sat on the throne of the Lord, succeeding his father David as king; he prospered, and all Israel obeyed him.
24 All the leaders and the mighty warriors, and also all the sons of King David, pledged their allegiance to King Solomon.
25 The Lord highly exalted Solomon in the sight of all Israel, and bestowed upon him such royal majesty as had not been on any king before him in Israel.
26 Thus David son of Jesse reigned over all Israel.
27 The period that he reigned over Israel was forty years; he reigned seven years in Hebron, and thirty-three years in Jerusalem.
28 He died in a good old age, full of days, riches, and honor; and his son Solomon succeeded him.

Footnotes 1

New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.