Solomon becomes king, deals with Adonijah, Joab and Shimei, then asks for wisdom in a dream: 1 Chronicles 29:23–25; 2 Chronicles 1:1; 1 Kings 2:13–3:4; 2 Chronicles 1:2–6; 1 Kings 3:5–15; 2 Chronicles 1:7–13
Solomon’s reign as king of Israel started well:
1 Chronicles 29:23-25 So Solomon took the throne of the Lord in place of his father, David, and he succeeded in everything, and all Israel obeyed him. All the officials, the warriors, and the sons of King David pledged their loyalty to King Solomon. And the Lord exalted Solomon in the sight of all Israel, and he gave Solomon greater royal splendor than any king in Israel before him.
But he soon had to deal with some threats to his throne. Adonijah started scheming again and so was executed (he was probably lucky to survive his first failed rebellion). Abiathar and Joab were now in trouble.
Solomon quickly sent Abiathar away, fulfilling the words over Eli and his family.
Joab ran to the altar for protection. In a miscalculation that you wouldn’t expect from Joab, he refused to leave, saying instead that he would die there.
It didn’t work: Solomon gave him what he asked for, and referred to David’s last words:
1 Kings 2:31-32 Do as he said … Kill him there beside the altar and bury him. This will remove the guilt of Joab’s senseless murders from me and from my father’s family. The Lord will will return his blood on his own head for the murders of two men who were more righteous and better than he.
That left only Shimei. He agreed to stay in Jerusalem (as if he had any real choice), and he could have lived a long time if only he had stayed there. Once he broke the agreement, he too was killed.
Solomon’s last words to Shimei show that Shimei’s curses cut a bit deeper than David showed at the time:
1 Kings 2:44 You certainly remember all the wicked things you did to my father, David. May the Lord now bring that evil on your own head.
And with all that, Solomon seems to have removed the main internal threats to his reign.