All other things being equal, isn't it better to work for a company that does something you think helps the world as opposed to one that you think is harmful or even merely neutral?
Things won't be equal though. Evil corps' pay and benefits are usually way better, simply because that's how they attract otherwise hesitant people in the first place.