I am now going to quote the very first sentence from the wikipedia page on Deontology.
In moral philosophy, deontological ethics or deontology […] is the normative ethical theory that the morality of an action should be based on whether that action itself is right or wrong under a series of rules and principles, rather than based on the consequences of the action.
Hi.
I am now going to quote the very first sentence from the wikipedia page on Deontology.
Emphasis mine.