The ability to imagine alternatives to events that have already occurred distinguishes humans from other creatures and machines—artificial intelligence has not yet succeeded in creating a device that can devise counterfactual scenarios. The fact that we can travel in an imaginary time and rewrite our actions and their outcomes can prove to be an advantage or can lead to dysfunctional emotional and cognitive consequences.