I don't mean to come across as too forward or rude, and freely admit that I know nothing about you personally. Thank you for making such generous contributions to charity!
The way I look at it is like so:
I think most people want to bring a net positive value to society. One way of doing that is working on something whose intrinsic value to society is neutral or nebulous (or just not thinking about it too hard), and compensating for that giving the money we make to other organizations that are definitely contributing positively. While this is better than not doing so, I think it misses out on the leverage that exists in what we build vs. the money we're paid for it.
For example, despite making over $500k last year, we know your employer thinks you are producing more value than that, because otherwise they wouldn't pay you that much. You would be a drag on their income statement otherwise. What this means is that even if you donated 100% of your salary to charity, you still aren't taking advantage of the leverage of what you can build, vs. the fixed amount you can earn.
If instead, you choose to work on something which is inherently good for society, society at large benefits from that leverage. You might be paid less, say $200k instead of $500k. But since the positive value you produce is leveraged you could be contributing, let's say, $1M of positive value for society - $200k to pay you to live in the bay area ($800k net positive value).
Just something to think about.