So the LORD raised up an opponent for Solomon: Hadad the Edomite from the royal line of Edom.
When David was fighting against Edom, Joab the general had gone up to bury the Israelite dead, and he had killed every male in Edom.
Joab and all the Israelites stayed there six months, until he had finished off every male in Edom.
While still a youth, Hadad escaped to Egypt along with his father's Edomite officials.
They set out from Midian and went to Paran. They took men with them from Paran and came to Egypt and to Pharaoh its king. Pharaoh assigned him a home, food, and land.
Pharaoh was so delighted with Hadad that he gave him one of his wife's sisters for marriage, a sister of Queen Tahpenes.
This sister of Tahpenes bore Hadad a son, Genubath. Tahpenes weaned him in Pharaoh's house. So it was that Genubath was raised in Pharaoh's house, among Pharaoh's children.
While in Egypt, Hadad heard that David had lain down with his ancestors and that Joab the general was also dead. Hadad said to Pharaoh, "Let me go to my homeland."
Pharaoh said to him, "What do you lack here with me that would make you want to go back to your homeland?" Hadad said, "Nothing, but please let me go!"
God raised up another opponent for Solomon: Rezon, Eliada's son, who had escaped from Zobah's King Hadadezer.
Rezon recruited men and became leader of a band when David was killing them. They went to Damascus, stayed there, and ruled it.
Throughout Solomon's lifetime, Rezon was Israel's opponent and added to the problems caused by Hadad. Rezon hated Israel while he ruled as king of Aram.
Now Nebat's son Jeroboam was an Ephraimite from Zeredah. His mother's name was Zeruah; she was a widow. Although he was one of Solomon's own officials, Jeroboam fought against the king.
This is the story of why Jeroboam fought against the king: Solomon had built the stepped structure and repaired the broken wall in his father David's City.
Now Jeroboam was a strong and honorable man. Solomon saw how well this youth did his work. So he appointed him over all the work gang of Joseph's house.
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 mea 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.
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.
The rest of Solomon's deeds, including all that he did and all his wisdom, aren't they written in the official records of Solomon?
The amount of time Solomon ruled over all Israel in Jerusalem was forty years.
Then Solomon lay down with his ancestors. He was buried in his father David's City, and Rehoboam his son succeeded him as king.