39 It happened that at the end of three years, two of Shimei's slaves fled to Achish, son of Maacah, the king of Gath. They told Shimei, saying, "Your slaves are here in Gath."
1 Kings 2:39 Cross References - LEB
1 Samuel 21:10
10 So David got up and fled on that day from the presence of Saul, and he came to Achish the king of Gath.
1 Samuel 27:2-3
2 So David got up and crossed over, he and the six hundred men who were with him, to Achish the son of Maoch, the king of Gath.
3 David settled with Achish in Gath, he and his men, each with his household.* David took along his two wives Ahinoam ⌊from Jezreel⌋* and Abigail the wife of Nabal the Carmelite.