Working for a good company doesn’t make you a good person. So why should working for a bad company make you a bad one?
If you're a bad person working for the Red Cross, and you saved the lives of strangers, that makes you less bad.
If you're a good person working for a company that manufactures antipersonnel mines, that makes you less good.