There are countless NPOs and registered charities that require donations and spend the money on running wholly unprofitable services to people who have no way of paying the organisation back. Services that, as a result, would not exist (and be actively avoided if they did) if left to the free market.
They deserve whatever money you're willing to throw away a hell of a lot more than a developer who has trouble keeping his shit in order.