1 Kings 2:36-37
36-37The king next called in Shimei and told him, "Build yourself a house in Jerusalem and live there, but you are not to leave the area. If you so much as cross the Brook Kidron, you're as good as dead—you will have decreed your own death sentence."
38Shimei answered the king, "Oh, thank you! Your servant will do exactly as my master the king says." Shimei lived in Jerusalem a long time.