I'm not sold on the idea of aligning one's failures with charitable contributions. You'd inevitably learn to feel good at the prospect of not having to yield cash to a good cause. Also, dangling a piece of charity (say, to a watsi patient) and then ripping it away once you 'succeed' seems a bit... unethical.