But King Solomon will be blessed, and the throne of David will remain secure before Yahweh forever.”
In context
43Why then did you not keep your oath to Yahweh and the command I gave you?” 44The king also said to Shimei, “You know in your own heart all the wrong you did to David my father. Now Yahweh has brought your wrongdoing back on your own head. 45But King Solomon will be blessed, and the throne of David will remain secure before Yahweh forever.” 46Then the king commanded Benaiah son of Jehoiada, and he went out and struck Shimei down, and he died. So the kingdom was now firmly established in Solomon’s hand.