1 Kings 11:7-17

7 Then did Solomon build an high place for Chemosh, the abomination of Moab, in the hill that is before Jerusalem, and for Molech, the abomination of the children of Ammon.
8 And likewise did he for all his strange wives, which burnt incense and sacrificed unto their gods.
9 And the LORD was angry with Solomon, because his heart was turned from the LORD God of Israel, which had appeared unto him twice,
10 And had commanded him concerning this thing, that he should not go after other gods: but he kept not that which the LORD commanded .
11 Wherefore the LORD said unto Solomon, Forasmuch as this is done of thee, and thou hast not kept my covenant and my statutes, which I have commanded thee, I will surely rend the kingdom from thee, and will give it to thy servant.
12 Notwithstanding in thy days I will not do it for David thy father's sake: but I will rend it out of the hand of thy son.
13 Howbeit I will not rend away all the kingdom; but will give one tribe to thy son for David my servant's sake, and for Jerusalem's sake which I have chosen .
14 And the LORD stirred up an adversary unto Solomon, Hadad the Edomite: he was of the king's seed in Edom.
15 For it came to pass, when David was in Edom, and Joab the captain of the host was gone up to bury the slain, after he had smitten every male in Edom;
16 (For six months did Joab remain there with all Israel, until he had cut off every male in Edom:)
17 That Hadad fled , he and certain Edomites of his father's servants with him, to go into Egypt; Hadad being yet a little child.
The King James Version is in the public domain.