At that time, when Jeroboam left Jerusalem, Ahijah the prophet of Shiloh met him along the way. Ahijah was wearing a new garment. The two of them were alone in the country.
Ahijah tore his new garment into twelve pieces.
He said to Jeroboam, "Take ten pieces, because Israel's God, the LORD, has said, ‘Look, I am about to tear the kingdom from Solomon's hand. I will give you ten tribes.
But I will leave him one tribe on account of my servant David and on account of Jerusalem, the city I have chosen from all the tribes of Israel.
I am doing this because they have abandoned me and worshipped the Sidonian goddess Astarte, the Moabite god Chemosh, and the Ammonite god Milcom. They haven't walked in my ways by doing what is right in my eyes—keeping my laws and judgments—as Solomon's father David did.
References for 1 Kings 11:33
But I won't take the whole kingdom from his hand. I will keep him as ruler throughout his lifetime on account of my servant David, who did keep my commands and my laws.
I will take the kingdom from the hand of Solomon's son, and I will give you ten tribes.
I will give his son a single tribe so that my servant David will always have a lamp before me in Jerusalem, the city that I chose for myself to place my name.
But I will accept you, and you will rule over all that you could desire. You will be king of Israel.
If you listen to all that I command and walk in my ways, if you do what is right in my eyes, keeping my laws and my commands just as my servant David did, then I will be with you and I will build you a lasting dynasty just as I did for David. I will give you Israel.
I will humble David's descendants by means of all this, though not forever.'"
Then Solomon tried to kill Jeroboam. But Jeroboam fled to Egypt and its king Shishak. Jeroboam remained in Egypt until Solomon died.