If you were the CEO of a company that needs to lay people off, how would you handle it differently.
Consider a more extreme example of the justice system. Putting somebody in prison doesn't undo the crime they committed. But deterrence is considered to be a reasonable argument for criminal punishment.