38 Shimei said to the king, “My master the king’s proposal is acceptable. Your servant will do as you say.” So Shimei lived in Jerusalem for a long time.
39 Three years later two of Shimei’s servants ran away to King Achish son of Maacah of Gath. Shimei was told, “Look, your servants are in Gath.”
40 So Shimei got up, saddled his donkey, and went to Achish at Gath to find his servants; Shimei went and brought back his servants from Gath.
41 When Solomon was told that Shimei had gone from Jerusalem to Gath and had then returned,
42 the king summoned Shimei and said to him, “You will recall that I made you take an oath by the Lord, and I solemnly warned you, ‘If you ever leave and go anywhere, know for sure that you will certainly die.’ You said to me, ‘The proposal is acceptable; I agree to it.’
43 Why then have you broken the oath you made before the Lord and disobeyed the order I gave you?”
44 Then the king said to Shimei, “You are well aware of the way you mistreated my father David. The Lord will punish you for what you did.