There's a third option, which is: to not quit, but fight back against legal-but-immoral practices from within the corporation.
Have you seen The Incredibles (pixar film). This scene is exactly what I'm talking about:
Have you seen The Incredibles (pixar film). This scene is exactly what I'm talking about: