For when Solomon was old, his wives turned his heart away after other gods; and his heart was not wholly devoted to the Lord his God, as the heart of David his father had been.