He had 700 wives who were princesses and 300 concubines, and they turned his heart away from the Lord.