Now the days of David drew near that he should die; and he charged Shlomo his son, saying,
I am going the way of all the eretz: be you strong therefore, and show yourself a man;
and keep the charge of the LORD your God, to walk in his ways, to keep his statutes, [and] his mitzvot, and his ordinances, and his testimonies, according to that which is written in the law of Moshe, that you may prosper in all that you do, and wherever you turn yourself.
That the LORD may establish his word which he spoke concerning me, saying, If your children take heed to their way, to walk before me in truth with all their heart and with all their soul, there shall not fail you (said he) a man on the throne of Yisra'el.
Moreover you know also what Yo'av the son of Tzeru'yah did to me, even what he did to the two captains of the hosts of Yisra'el, to Aviner the son of Ner, and to `Amasa the son of Yeter, whom he killed, and shed the blood of war in shalom, and put the blood of war on his sash that was about his loins, and in his shoes that were on his feet.
Do therefore according to your wisdom, and don't let his gray head go down to She'ol in shalom.
But show kindness to the sons of Barzillai the Gil`adite, and let them be of those who eat at your table; for so they came to me when I fled from Avshalom your brother.
Behold, there is with you Shim`i the son of Gera, the Binyamini, of Bachurim, who cursed me with a grievous curse in the day when I went to Machanayim; but he came down to meet me at the Yarden, and I swore to him by the LORD, saying, I will not put you to death with the sword.
Now therefore don't hold him guiltless, for you are a wise man; and you will know what you ought to do to him, and you shall bring his gray head down to She'ol with blood.
David slept with his fathers, and was buried in the city of David.
The days that David reigned over Yisra'el were forty years; seven years reigned he in Hevron, and thirty-three years reigned he in Yerushalayim.
Shlomo sat on the throne of David his father; and his kingdom was established greatly.
Then Adoniyahu the son of Haggit came to Bat-Sheva the mother of Shlomo. She said, Come you peaceably? He said, Peaceably.
He said moreover, I have somewhat to tell you. She said, Say on.
He said, You know that the kingdom was mine, and that all Yisra'el set their faces on me, that I should reign: however the kingdom is turned about, and is become my brother's; for it was his from the LORD.
Now I ask one petition of you; don't deny me. She said to him, Say on.
He said, Please speak to Shlomo the king (for he will not tell you 'no'), that he give me Avishag the Shunammite as wife.
Bat-Sheva said, Well; I will speak for you to the king.
Bat-Sheva therefore went to king Shlomo, to speak to him for Adoniyahu. The king rose up to meet her, and bowed himself to her, and sat down on his throne, and caused a throne to be set for the king's mother; and she sat on his right hand.
Then she said, I ask one small petition of you; don't deny me. The king said to her, Ask on, my mother; for I will not deny you.
She said, Let Avishag the Shunammite be given to Adoniyahu your brother as wife.
King Shlomo answered his mother, Why do you ask Avishag the Shunammite for Adoniyahu? ask for him the kingdom also; for he is my elder brother; even for him, and for Avyatar the Kohen, and for Yo'av the son of Tzeru'yah.
Then king Shlomo swore by the LORD, saying, God do so to me, and more also, if Adoniyahu has not spoken this word against his own life.
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 Adoniyahu shall be put to death this day.
King Shlomo sent by Benayah the son of Yehoiada; and he fell on him, so that he died.
To Avyatar the Kohen said the king, Get you to `Anatot, to your own fields; for you are worthy of death: but I will not at this time put you to death, because you bear the ark of the Lord GOD before David my father, and because you were afflicted in all in which my father was afflicted.
So Shlomo thrust out Avyatar from being Kohen to the LORD, that he might fulfill the word of the LORD, which he spoke concerning the house of `Eli in Shiloh.
The news came to Yo'av; for Yo'av had turned after Adoniyahu, though he didn't turn after Avshalom. Yo'av fled to the Tent of the LORD, and caught hold on the horns of the altar.
It was told king Shlomo, Yo'av is fled to the Tent of the LORD, and, behold, he is by the altar. Then Shlomo sent Benayah the son of Yehoiada, saying, Go, fall on him.
Benayah came to the Tent of the LORD, and said to him, Thus says the king, Come forth. He said, No; but I will die here. Benayah brought the king word again, saying, Thus said Yo'av, and thus he answered me.
The king said to him, Do as he has said, and fall on him, and bury him; that you may take away the blood, which Yo'av shed without cause, from me and from my father's house.
The LORD will return his blood on his own head, because he fell on two men more righteous and better than he, and killed them with the sword, and my father David didn't know it, [to wit], Aviner the son of Ner, captain of the host of Yisra'el, and `Amasa the son of Yeter, captain of the host of Yehudah.
So shall their blood return on the head of Yo'av, and on the head of his seed forever: but to David, and to his seed, and to his house, and to his throne, shall there be shalom for ever from the LORD.
Then Benayah the son of Yehoiada went up, and fell on him, and killed him; and he was buried in his own house in the wilderness.
The king put Benayah the son of Yehoiada in his room over the host; and Tzadok the Kohen did the king put in the room of Avyatar.
The king sent and called for Shim`i, and said to him, Build yourself a house in Yerushalayim, and dwell there, and don't go forth from there any where.
For on the day you go out, and pass over the brook Kidron, know you for certain that you shall surely die: your blood shall be on your own head.
Shim`i said to the king, The saying is good: as my lord the king has said, so will your servant do. Shim`i lived in Yerushalayim many days.
It happened at the end of three years, that two of the servants of Shim`i ran away to Akhish, son of Ma`akhah, king of Gat. They told Shim`i, saying, Behold, your servants are in Gat.
Shim`i arose, and saddled his donkey, and went to Gat to Akhish, to seek his servants; and Shim`i went, and brought his servants from Gat.
It was told Shlomo that Shim`i had gone from Yerushalayim to Gat, and was come again.
The king sent and called for Shim`i, and said to him, Didn't I adjure you by the LORD, and protest to you, saying, Know for certain, that on the day you go out, and walk abroad any where, you shall surely die? and you said to me, The saying that I have heard is good.
Why then have you not kept the oath of the LORD, and the mitzvah that I have charged you with?
The king said moreover to Shim`i, You know all the wickedness which your heart is privy to, that you did to David my father: therefore the LORD shall return your wickedness on your own head.
But king Shlomo shall be blessed, and the throne of David shall be established before the LORD forever.
So the king commanded Benayah the son of Yehoiada; and he went out, and fell on him, so that he died. The kingdom was established in the hand of Shlomo.