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.”
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.
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.
No Anakites were left in Israelite territory, though some remained in Gaza, Gath, and Ashdod.
So on that day David arose and fled from Saul. He went to King Achish of Gath.