To Abiathar the priest the king said, “Go back to your fields in Anathoth. You deserve to die, but I will not put you to death now, because you carried the ark of the Sovereign LORD before my father David and shared all my father’s hardships.”
So Solomon removed Abiathar from the priesthood of the LORD, fulfilling the word the LORD had spoken at Shiloh about the house of Eli.
When the news reached Joab, who had conspired with Adonijah though not with Absalom, he fled to the tent of the LORD and took hold of the horns of the altar.
King Solomon was told that Joab had fled to the tent of the LORD and was beside the altar. Then Solomon ordered Benaiah son of Jehoiada, “Go, strike him down!”
So Benaiah entered the tent of the LORD and said to Joab, “The king says, ‘Come out!’ ” But he answered, “No, I will die here.” Benaiah reported to the king, “This is how Joab answered me.”
Then the king commanded Benaiah, “Do as he says. Strike him down and bury him, and so clear me and my whole family of the guilt of the innocent blood that Joab shed.
The LORD will repay him for the blood he shed, because without my father David knowing it he attacked two men and killed them with the sword. Both of them—Abner son of Ner, commander of Israel’s army, and Amasa son of Jether, commander of Judah’s army—were better men and more upright than he.
May the guilt of their blood rest on the head of Joab and his descendants forever. But on David and his descendants, his house and his throne, may there be the LORD’s peace forever.”
So Benaiah son of Jehoiada went up and struck down Joab and killed him, and he was buried at his home out in the country.
The king put Benaiah son of Jehoiada over the army in Joab’s position and replaced Abiathar with Zadok the priest.
Then the king sent for Shimei and said to him, “Build yourself a house in Jerusalem and live there, but do not go anywhere else.