18 They set out from Mid'ian and came to Paran, and took men with them from Paran and came to Egypt, to Pharaoh king of Egypt, who gave him a house, and assigned him an allowance of food, and gave him land. 19 And Hadad found great favor in the sight of Pharaoh, so that he gave him in marriage the sister of his own wife, the sister of Tah'penes the queen. 20 And the sister of Tah'penes bore him Genu'bath his son, whom Tah'penes weaned in Pharaoh's house; and Genu'bath was in Pharaoh's house among the sons of Pharaoh. 21 But when Hadad heard in Egypt that David slept with his fathers and that Jo'ab the commander of the army was dead, Hadad said to Pharaoh, "Let me depart, that I may go to my own country." 22 But Pharaoh said to him, "What have you lacked with me that you are now seeking to go to your own country?" And he said to him, "Only let me go."
Matthew Henry's Commentary on 1 Kings 11:18-22
Commentary on 1 Kings 11:14-25
(Read 1 Kings 11:14-25)
While Solomon kept close to God and to his duty, there was no enemy to give him uneasiness; but here we have an account of two. If against us, he can make us fear even the least, and the very grasshopper shall be a burden. Though they were moved by principles of ambition or revenge, God used them to correct Solomon.