I have just quit a dev job at a corporate philanthropy whose mission "aligns with my values." It was more aimless, more cryptic, less meaningful, less "real," and less obviously impactful than any other dev job I've had. Every day was just a long, drawn-out feeling of "why bother."
Corporate philanthropy triggers my BS detector a bit though. Do you think a non-profit would be different? Like, say, ASPCA or UNICEF instead of the Exxon-Mobil Climate Taskforce or whatever corporate philanthropy means (I actually do not know, could you elaborate?).
I was working at a philanthropic org funded by one of the Bay Area tech giants. The org was focused on science research and advocacy. But being neither a scientist nor activist, I was very far removed from whatever it is that our org did. My job was keeping the proverbial lights on. The combination of uninteresting work and being really peripheral within the org finally did me in.