This was how Solomon did evil in the Lord's sight, and was not completely dedicated to the Lord as his father David was.