I work for myself, so this is a difficult one. I have “fired” clients that were simply unethical. I hate losing the money but I prefer not worrying about my ethical standards.
However, I will say that decades ago the military did not ask, but I told, because I knew that the rules were impossible for me to follow once I came out. I knew I was incapable of lying or living in the closet; I am still a very bad liar. So, I guess that is one example of why I would quit.