1 Kings 2:39-46

39 But it happened at the end of three years that two of Shim'e-i's slaves ran away to Achish, son of Ma'acah, king of Gath. And when it was told Shim'e-i, "Behold, your slaves are in Gath,"
40 Shim'e-i arose and saddled an ass, and went to Gath to Achish, to seek his slaves; Shim'e-i went and brought his slaves from Gath.
41 And when Solomon was told that Shim'e-i had gone from Jerusalem to Gath and returned,
42 the king sent and summoned Shim'e-i, and said to him, "Did I not make you swear by the LORD, and solemnly admonish you, saying, 'Know for certain that on the day you go forth and go to any place whatever, you shall die'? And you said to me, 'What you say is good; I obey.'
43 Why then have you not kept your oath to the LORD and the commandment with which I charged you?"
44 The king also said to Shim'e-i, "You know in your own heart all the evil that you did to David my father; so the LORD will bring back your evil upon your own head.
45 But King Solomon shall be blessed, and the throne of David shall be established before the LORD for ever."
46 Then the king commanded Benai'ah the son of Jehoi'ada; and he went out and struck him down, and he died. So the kingdom was established in the hand of Solomon.
Revised Standard Version of the Bible, copyright 1952 [2nd edition, 1971] by the Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.