The book "Stumbling on Happiness" covers this issue. I cannot remember the exact principle involved (and I don't have the book handy) but your mind is very good at justifying the actions you take, which is why we regret not doing things more than we regret doing them.