As the time approached for David to die, he instructed his son Solomon,a2
"As for me, I am going the way of all of the earth. Be strong and brave,
and keep your obligation to the Lord your God to walk in His ways and to keep His statutes, commandments, judgments, and testimonies. This is written in the law of Moses, so that you will have success in everything you dob and wherever you turn,
and so that the Lord will carry out His promise that He made to me: 'If your sons are careful to walk faithfully before Me with their whole mind and heart,c you will never fail to have a man on the throne of Israel.'d5
"You also know what Joab son of Zeruiah did to me and what he did to the two commanders of Israel's army, Abner son of Nere and Amasa son of Jether.f He murdered them [in a time] of peace to avenge blood shed in war. He spilled that blood on his own waistband and on the sandals of his feet.g6
Act according to your wisdom, and do not let his gray head descend to Sheol in peace.
"Show loyalty to the sons of Barzillai the Gileadite and let them be among those who eat at your table because they supported me when I fled from your brother Absalom.h8
"Keep an eye on Shimei son of Gera, the Benjaminite from Bahurim who is with you. He uttered malicious curses against me the day I went to Mahanaim. But he came down to meet me at the Jordan River, and I swore to him by the Lord: 'I will never kill you with the sword.'i9
So don't let him go unpunished, for you are a wise man. You know how to deal with him to bring his gray head down to Sheol with blood."
Then David rested with his fathers and was buried in the city of David.
The [length of] time David reigned over Israel was 40 years: he reigned seven years in Hebron and 33 years in Jerusalem.
Solomon sat on the throne of his father David, and his kingship was firmly established.j
Now Adonijah son of Haggith came to Bathsheba, Solomon's mother. She asked, "Do you come peacefully?" "Peacefully," he replied,
and then asked, "May I talk with you?"k "Go ahead," she answered.
"You know the kingship was mine," he said. "All Israel expected me to be king, but then the kingship was turned over to my brother, for the Lord gave it to him.
So now I have just one request of you; don't turn me down."l She said to him, "Go on."
He replied, "Please speak to King Solomon since he won't turn you down. Let him give me Abishag the Shunammitem as a wife."
"Very well," Bathsheba replied. "I will speak to the king for you."