35 Solomon put Benaiah in Joab's place as army commander, and he put Zadok in Abiathar's place as priest.
36 Solomon sent for Shimei and said, “Build a house here in Jerusalem and live in it. But whatever you do, don't leave the city!
37 If you ever cross Kidron Valley and leave Jerusalem, you will be killed. And it will be your own fault.”
38 “That's fair, Your Majesty,” Shimei answered. “I'll do that.” So Shimei lived in Jerusalem from then on.
39 About three years later, two of Shimei's servants ran off to King Achish in Gath. When Shimei found out where they were,
40 he saddled his donkey and went after them. He found them and brought them back to Jerusalem.
41 Someone told Solomon that Shimei had gone to Gath and was back.