21 So when Hadad heard in Egypt that David rested with his fathers, and that Joab the commander of the army was dead, Hadad said to Pharaoh, "Let me depart, that I may go to my own country."

Matthew Henry's Commentary on 1 Kings 11:21

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.