Solomon is becoming quite the King! Partnerships and influence expand his kingdom. And maybe that becomes the issue. Solomon begins to think of it as his kingdom instead of God's kingdom.
Given the background of this story and all that came before it I am reminded of the words of Jesus: "I tell you, not even Solomon and all of his glory was not arrayed like one of these lilies in the field."