But King Solomon shall be blessed, and the throne of David shall be established before the LORD forever."
1 Kings 2:45
Surrounding context
2:44 The king said moreover to Shimei, "You know, as your heart acknowledges, all the wickedness that you did to my father David; therefore the LORD will return your wickedness on your own head.
2:45 But King Solomon shall be blessed, and the throne of David shall be established before the LORD forever."
2:46 So the king commanded Benaiah the son of Jehoiada; and he went out and struck him down, and he died. Thus the kingdom was established in the hand of Solomon.