1 Kings 11:7-17

7 Then Solomon built a high place for Chemosh the abomination of Moab, and for Molech the abomination of the Ammonites, on the mountain east of Jerusalem.
8 And so he did for all his foreign wives, who burned incense and sacrificed to their gods.
9 And the LORD was angry with Solomon, because his heart had turned away from the LORD, the God of Israel, who had appeared to him twice,
10 and had commanded him concerning this thing, that he should not go after other gods; but he did not keep what the LORD commanded.
11 Therefore the LORD said to Solomon, "Since this has been your mind and you have not kept my covenant and my statutes which I have commanded you, I will surely tear the kingdom from you and will give it to your servant.
12 Yet for the sake of David your father I will not do it in your days, but I will tear it out of the hand of your son.
13 However I will not tear away all the kingdom; but I will give one tribe to your son, for the sake of David my servant and for the sake of Jerusalem which I have chosen."
14 And the LORD raised up an adversary against Solomon, Hadad the E'domite; he was of the royal house in Edom.
15 For when David was in Edom, and Jo'ab the commander of the army went up to bury the slain, he slew every male in Edom
16 (for Jo'ab and all Israel remained there six months, until he had cut off every male in Edom);
17 but Hadad fled to Egypt, together with certain E'domites of his father's servants, Hadad being yet a little child.
Revised Standard Version of the Bible, copyright 1952 [2nd edition, 1971] by the Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.