1As David's time to die drew near, he charged Solomon his son, saying,
2"I am going the way of all the earth. Be strong, therefore, and show yourself a man.
3"Keep the charge of the LORD your God, to walk in His ways, to keep His statutes, His commandments, His ordinances, and His testimonies, according to what is written in the Law of Moses, that you may succeed in all that you do and wherever you turn,
4so that the LORD may carry out His promise which He spoke concerning me, saying, If your sons are careful of their way, to walk before Me in truth with all their heart and with all their soul, you shall not lack a man on the throne of Israel.'
5"Now you also know what Joab the son of Zeruiah did to me, what he did to the two commanders of the armies of Israel, to Abner the son of Ner, and to Amasa the son of Jether, whom he killed; he also shed the blood of war in peace. And he put the blood of war on his belt about his waist, and on his sandals on his feet.
6"So act according to your wisdom, and do not let his gray hair go down to Sheol in peace.
7"But show kindness to the sons of Barzillai the Gileadite, and let them be among those who eat at your table; for they assisted me when I fled from Absalom your brother.
8"Behold, there is with you Shimei the son of Gera the Benjamite, of Bahurim; now it was he who cursed me with a violent curse on the day I went to Mahanaim. But when he came down to me at the Jordan, I swore to him by the LORD, saying, 'I will not put you to death with the sword.'
9"Now therefore, do not let him go unpunished, for you are a wise man; and you will know what you ought to do to him, and you will bring his gray hair down to Sheol with blood."
Death of David
10Then David slept with his fathers and was buried in the city of David.
11The days that David reigned over Israel [were] forty years: seven years he reigned in Hebron and thirty-three years he reigned in Jerusalem.
12And Solomon sat on the throne of David his father, and his kingdom was firmly established.
13Now Adonijah the son of Haggith came to Bathsheba the mother of Solomon. And she said, "Do you come peacefully?" And he said, "Peacefully."
14Then he said, "I have something [to say] to you." And she said, "Speak."
15So he said, "You know that the kingdom was mine and that all Israel expected me to be king; however, the kingdom has turned about and become my brother's, for it was his from the LORD.
16"Now I am making one request of you; do not refuse me." And she said to him, "Speak."
17Then he said, "Please speak to Solomon the king, for he will not refuse you, that he may give me Abishag the Shunammite as a wife."
18Bathsheba said, "Very well; I will speak to the king for you."
19So Bathsheba went to King Solomon to speak to him for Adonijah. And the king arose to meet her, bowed before her, and sat on his throne; then he had a throne set for the king's mother, and she sat on his right.
20Then she said, "I am making one small request of you; do not refuse me." And the king said to her, "Ask, my mother, for I will not refuse you."
21So she said, "Let Abishag the Shunammite be given to Adonijah your brother as a wife."
22King Solomon answered and said to his mother, "And why are you asking Abishag the Shunammite for Adonijah? Ask for him also the kingdom-- for he is my older brother-- even for him, for Abiathar the priest, and for Joab the son of Zeruiah!"
23Then King Solomon swore by the LORD, saying, "May God do so to me and more also, if Adonijah has not spoken this word against his own life.
24"Now therefore, as the LORD lives, who has established me and set me on the throne of David my father and who has made me a house as He promised, surely Adonijah shall be put to death today."
25So King Solomon sent Benaiah the son of Jehoiada; and he fell upon him so that he died.
26Then to Abiathar the priest the king said, "Go to Anathoth to your own field, for you deserve to die; but I will not put you to death at this time, because you carried the ark of the Lord GOD before my father David, and because you were afflicted in everything with which my father was afflicted."
27So Solomon dismissed Abiathar from being priest to the LORD, in order to fulfill the word of the LORD, which He had spoken concerning the house of Eli in Shiloh.
28Now the news came to Joab, for Joab had followed Adonijah, although he had not followed Absalom. And Joab fled to the tent of the LORD and took hold of the horns of the altar.
29It was told King Solomon that Joab had fled to the tent of the LORD, and behold, he is beside the altar. Then Solomon sent Benaiah the son of Jehoiada, saying, "Go, fall upon him."
30So Benaiah came to the tent of the LORD and said to him, "Thus the king has said, 'Come out.'" But he said, "No, for I will die here." And Benaiah brought the king word again, saying, "Thus spoke Joab, and thus he answered me."
31The king said to him, "Do as he has spoken and fall upon him and bury him, that you may remove from me and from my father's house the blood which Joab shed without cause.
32"The LORD will return his blood on his own head, because he fell upon two men more righteous and better than he and killed them with the sword, while my father David did not know [it]: Abner the son of Ner, commander of the army of Israel, and Amasa the son of Jether, commander of the army of Judah.
33"So shall their blood return on the head of Joab and on the head of his descendants forever; but to David and his descendants and his house and his throne, may there be peace from the LORD forever."
34Then Benaiah the son of Jehoiada went up and fell upon him and put him to death, and he was buried at his own house in the wilderness.
35The king appointed Benaiah the son of Jehoiada over the army in his place, and the king appointed Zadok the priest in the place of Abiathar.
36Now the king sent and called for Shimei and said to him, "Build for yourself a house in Jerusalem and live there, and do not go out from there to any place.
37"For on the day you go out and cross over the brook Kidron, you will know for certain that you shall surely die; your blood shall be on your own head."
38Shimei then said to the king, "The word is good. As my lord the king has said, so your servant will do." So Shimei lived in Jerusalem many days.
39But it came about at the end of three years, that two of the servants of Shimei ran away to Achish son of Maacah, king of Gath. And they told Shimei, saying, "Behold, your servants are in Gath."
40Then Shimei arose and saddled his donkey, and went to Gath to Achish to look for his servants. And Shimei went and brought his servants from Gath.
41It was told Solomon that Shimei had gone from Jerusalem to Gath, and had returned.
42So the king sent and called for Shimei and said to him, "Did I not make you swear by the LORD and solemnly warn you, saying, 'You will know for certain that on the day you depart and go anywhere, you shall surely die? And you said to me, 'The word which I have heard is good.'
43"Why then have you not kept the oath of the LORD, and the command which I have laid on you?"
44The king also said to Shimei, "You know all the evil which you acknowledge in your heart, which you did to my father David; therefore the LORD shall return your evil on your own head.
45"But King Solomon shall be blessed, and the throne of David shall be established before the LORD forever."
46So the king commanded Benaiah the son of Jehoiada, and he went out and fell upon him so that he died. Thus the kingdom was established in the hands of Solomon.