1 Kings 11:3-4

He had 700 wives, who were princesses, and 300 concubines. And his wives turned away his heart. For when Solomon was old his wives turned away his heart after other gods, and a his heart was not wholly true to the  Lord his God, b as was the heart of David his father.
Copyright information for ESV