1 Kings 2:4-14

4 So that the Lord may give effect to what he said of me, If your children give attention to their ways, living uprightly before me with all their heart and their soul, you will never be without a man to be king in Israel.
5 Now you have knowledge of what Joab, the son of Zeruiah, did to me, and to the two captains of the army of Israel, Abner, the son of Ner, and Amasa, the son of Jether, whom he put to death, taking payment for the blood of war in time of peace, and making the band of my clothing and the shoes on my feet red with the blood of one put to death without cause.
6 So be guided by your wisdom, and let not his white head go down to the underworld in peace.
7 But be good to the sons of Barzillai the Gileadite, and let them be guests at your table; for so they came to me when I went in flight from Absalom your brother.
8 Now you have with you Shimei, the son of Gera the Benjamite of Bahurim, who put a bitter curse on me on the day when I went to Mahanaim; but he came down to see me at Jordan, and I gave him my oath by the Lord, saying, I will not put you to death by the sword.
9 But do not let him be free from punishment, for you are a wise man; and it will be clear to you what you have to do with him; see that his white head goes down to the underworld in blood.
10 Then David went to rest with his fathers, and his body was put into the earth in the town of David.
11 David was king over Israel for forty years: for seven years he was king in Hebron and for thirty-three years in Jerusalem.
12 And Solomon took his place on the seat of David his father, and his kingdom was made safe and strong.
13 Then Adonijah, the son of Haggith, came to Bath-sheba, the mother of Solomon. And she said, Come you in peace? And he said, Yes, in peace.
14 Then he said, I have something to say to you. And she said, Say on.