Obstacles don't have to stop you. If you run into a wall, don't turn around and give up. Figure out how to climb it, go through it, or work around it.
It is immoral from almost any point of view to refuse to defend yourself and others from very grave and terrible threats, even as there are limits to the means that can be used in such defense.

