$80k a year is still a big raise even from $320k. But the bigger issue is that in most cases it wouldn't be easy to establish high confidence that the company offering the $320k salary is significantly less bad for the world than Facebook is (for whatever one's own definitions may be for "bad").
Ethically I felt pretty good working at Rubrik (data backup company), as my first job out of university my total comp was >50% of that, I'm sure the senior people (who would be making $400k at facebook) are making that much.
people who believe drugs should be legal will work as guards at prisons locking up non-violent drug offenders for a lot less money. As a misanthrope I think you expect too much of your fellow humans if you expect a good grasp of ethics.