1 Kings 11:9-12

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. 11:12 However, for your father David’s sake I will not do this while you are alive. I will tear it away from your son’s hand instead.