1 Kings 2:8
And, behold, thou hast with thee Shimei the son of Gera, a Benjamite of Bahurim, which cursed me with a grievous curse in the day when I went to Mahanaim: but he came down to meet me at Jordan, and I sware to him by the Lord, saying, I will not put thee to death with the sword.
Cross-reference
1 Kings 2:36–46
Historical context
1 Kings 2:36-46 records Solomon executing David's instruction about Shimei, confining him to Jerusalem and later killing him.
2 Samuel 16:5–8
Historical context
2 Samuel 16:5-8 provides the original account of Shimei cursing David as he fled from Absalom.
2 Samuel 19:16–23
Historical context
2 Samuel 19:16-23 recounts Shimei's apology and David's oath not to kill him, which David now recalls.
2 Samuel 19:23
Historical context
2 Samuel 19:23 records David's oath to spare Shimei, which David here reminds Solomon of.