We should not "set ourselves at evil". We are categorically forbidden for intending to cause evils (such as killing innocents), even to prevent other evils. However, it is acceptable to cause evils unintentionally, even if we foresee them as effects of our actions