1 Kings 2: 1 - 4, 10 - 12
1 When David's time to die drew near, he charged Solomon his son, saying,
2 "I am about to go the way of all the earth. Be strong, and show yourself a man,
3 and keep the charge of the LORD your God, walking in his ways and keeping his statutes, his commandments, his ordinances, and his testimonies, as it is written in the law of Moses, that you may prosper in all that you do and wherever you turn;
4 that the LORD may establish his word which he spoke concerning me, saying, `If your sons take heed to their way, to walk before me in faithfulness with all their heart and with all their soul, there shall not fail you a man on the throne of Israel.'
10 Then David slept with his fathers, and was buried in the city of David.
11 And the time that David reigned over Israel was forty years; he reigned seven years in Hebron, and thirty-three years in Jerusalem.
12 So Solomon sat upon the throne of David his father; and his kingdom was firmly established.

EWTN