Berean Standard Bible
1 Kings 2:41
“When Solomon was told that Shimei had gone from Jerusalem to Gath and had returned,”

In context
39After three years, however, two of Shimei’s slaves ran away to Achish son of Maacah, king of Gath. And Shimei was told, “Look, your slaves are in Gath.”
40So Shimei saddled his donkey and set out to Achish at Gath in search of his slaves, and he brought them back from Gath.
41When Solomon was told that Shimei had gone from Jerusalem to Gath and had returned,
42The king summoned Shimei and said to him, “Did I not make you swear by the LORD and warn you, ‘On the day you leave and go elsewhere, know for sure that you will die’? And you told me, ‘The sentence is fair; I will comply.’
43So why have you not kept your oath to the LORD and the command that I gave you?”
Berean Standard Bible · A modern, readable English translation. Public domain (CC0).