"There is also Shimei son of Gera, from the town of Bahurim in Benjamin. He cursed me bitterly the day I went to Mahanaim, but when he met me at the Jordan River, I gave him my solemn promise in the name of the Lord that I would not have him killed. 1
References for 1 Kings 2:8
2.8 2 S 16.5-13; 19.16-23.