When Solomon was old, his wives turned his heart away to follow other gods. He was not wholeheartedly devoted to the LORD his God, as his father David had been.