Shimei said to the king, "This is a good idea. Your servant will do just what my master the king said." So Shimei stayed in Jerusalem for a long time.