I think lots of people believe that the ends can justify the means.
But to me, that expression means the same thing as, "Whatever causes a good outcome must not be bad." And I not only disagree with it, I don't even think it makes sense.
I heard a story about a guy who was stabbed in a mugging and during surgery for the stabbing, found out that he had cancer, which saved his life.
But nobody is going to go to the judge during the mugger's trial, and say that his decision to stab the guy was "justified," and so he should be released to stab again with his completely justified stabbing history.
No, the things that are justifiable are those which are good and informed actions. You can't justify bad or ignorant actions simply because of luck.