1 Kings 11:8-11
English Standard Version
Chapter 11
8And so he did for all his foreign wives, who made offerings and sacrificed to their gods.
9And 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
10and had commanded him concerning this thing, that he should not go after other gods. But he did not keep what the Lord commanded.
11Therefore the Lord said to Solomon, "Since this has been your practice and you have not kept my covenant and my statutes that I have commanded you, I will surely tear the kingdom from you and will give it to your servant.