Relates to philosophy ( Kantianism vs Consequentialism) as well as every day life and thinking.
Related: Action matters more than motivation or reasoning
Related to Principles versus outcomes
Principles versus outcomes