1 Kings 2:39
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.
Cross-reference
1 Samuel 27:2
Historical context
1 Samuel 27:2 gives the identical title 'Achish son of Maoch king of Gath' — confirming the identity of the ruler.
1 Samuel 21:10
Historical context
1 Samuel 21:10 shows David fleeing to the same King Achish of Gath — providing background on this city as a refuge.
1 Samuel 27:3
Historical context
1 Samuel 27:3 describes David staying in Gath with his household — adding context that Gath hosted Israelite fugitives.