1 Kings 2:42-45

42 the king sent and summoned Shimei, and said to him, "Did I not make you swear by the Lord, and solemnly adjure you, saying, "Know for certain that on the day you go out and go to any place whatever, you shall die'? And you said to me, "The sentence is fair; I accept.'
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 Shimei, "You know in your own heart all the evil that you did to my father David; so the Lord will bring back your evil on your own head.
45 But King Solomon shall be blessed, and the throne of David shall be established before the Lord forever."
New Revised Standard Version Bible, copyright 1989, 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.