If it is in our power to prevent something bad from happening, without thereby sacrificing anything of comparable moral importance, we ought, morally to do it.
Some of comparable moral importance means: without causing something wrong in itself, without failing to promote some good, comparable to the bad thing we can prevent.
For example, I ought to wade in and pull out a drowning child from a pond at the expense of my clothes getting muddy.