What I've realized is that the means determine the ends, both intended and unintended.
I think we can agree that intent/means used to achieve an outcome certainly do matter (more deonotological/Kantian philosophical worldview), but I do believe that consequences/outcomes of action and/or inaction certainly matter as well.
All sorts of mental gymnastics we could go through as to my reasoning, but I try to be cautious in accepting strict maxims as absolute truths.
But there’s no sense crying over every mistake
We must keep on trying till we run out of cake.