This could be translated as, "to punish Solomon for being unfaithful to him, God solemnly said that he would divide."