For it came to pass, when Solomon was old, that his wives turned away his heart after other gods: and his heart was not perfect with the LORD his God, as was the heart of David his father.
When Solomon grew older, his wives made him like other gods less than the LORD; his love for the LORD wasn't as strong as his father David's.