1 Kings 11:9-11
11:9 The Lord was angry with Solomon because he had shifted his allegiance away from the Lord, the God of Israel, who had appeared to him on two occasions
11:10 and had warned him about this very thing, so that he would not follow other gods. But he did not obey the Lord’s command.
11:11 So the Lord said to Solomon, “Because you insist on doing these things and have not kept the covenantal rules I gave you, I will surely tear the kingdom away from you and give it to your servant.