Ethical question….Is surviving legally/ethically better than market share gain….like cookong the books….when your job is on the line?

Ethical question….Is surviving legally/ethically better than market share gain….like cookong the books….when your job is on the line?