There are different aspects to ethics. The theory of ethics that the person who made this statement likely appealing is Virtue-based ethics
Virtue ethics is a wide term for theories that talks more on the duties of character and virtue in moral philosophy. It emphasis on rather than doing one's role or acting so as to result in good outcome.
An example of virtue based ethics are Honesty, courage, compassion, generosity, fidelity, etc.
Virtue ethics is known to be a philosophy that was created by Aristotle and other ancient Greeks.
Learn more about ethics from
https://brainly.com/question/13383200