If you steal someone's golf money and use it to save 100 lives, is there no morality in that?
If you're worried about the public good, there are nonviolent and consensual means of cooperation that I believe would make all of us far more prosperous than today.