Regret may be one of the foundations of decision-making and is rarely a morbid, dead-end, psychologically useless phenomena in which one wallows. Mere hindsight has no value component, it is regret that tells you what you want to avoid.