1 Kings 2:39

But it happened after three years, that two of Shimei’s servants ran away to Achish the son of Maacah, the king of Gath. And Shimei was told, “Behold, your [runaway] servants are in Gath.”

1 Samuel 21:10

Then David arose and fled from Saul that day, and went to Achish king of Gath.

1 Samuel 27:2-3

So David and the six hundred men who were with him arose and crossed over to Achish the son of Maoch, king of Gath.

Treasury of Scripture Knowledge

Summary

And it came to pass at the end of three years, that two of the servants of Shimei ran away unto Achish son of Maachah king of Gath. And they told Shimei, saying, Behold, thy servants be in Gath.

Bible References

Achish

1 Samuel 21:10
Then David arose and fled from Saul that day, and went to Achish king of Gath.
1 Samuel 27:2
So David and the six hundred men who were with him arose and crossed over to Achish the son of Maoch, king of Gath.