Profit is a valid motivation for business and, generally speaking, pany that pursues profits within the bounds of law and morality will be fulfilling its purpose admirably.
But profit is an instrumental good rather than a final good, and so there are sometimes extraordinary circumstances that place additional moral obligations on business.
For an edifying story about pany that responded well to such circumstances, see