Psychological flexibility, not intelligence, determines whether people grow wiser or more rigid over time.