I don't think this is true. You can donate to a for-profit corporation. It just counts as income to them and isn't deductible to you.