There are many beneficial things people can do but are not doing. For example: investing your money. Many people aren't doing it (instead leaving cash in their bank account for a large part of their life) out of pure laziness/ignorance of its benefits.
Let's assume you're a junior SWE in the Bay Area, making $130K. Annual take home is ~$85,753 according to [1]
You pay $3K in rent (nice 1 bedroom apt in South Bay, or just a decent one in SF), $2K for various expenses, that's $60K and you're left with $25K.
This is for a junior engineer, and granted they might want to save $25K vs $15K (arguable; I would consider those savings don't matter much in the long run, the goal being to quickly increase your salary by advancing your career), but an engineer in a large tech company is making closer to $250 - $300K total comp, and you'll see that the $10K donation isn't making much of a dent in your savings at that point.
[1] https://smartasset.com/taxes/california-paycheck-calculator#...