Immanuel Kant said this quote
“ If now we attend to ourselves on occasion of any transgression of duty, we shall find that we in fact do not will that our maxim should be universal law, for that is impossible for us; on the contrary, we will that the opposite should remain a universal law, only we assume the liberty of making an exception in our own favor or (just for this time only) in favor of our inclination. Consequently, if we considered all cases from one and the same point of view, namely, that of reason, we should find a contradiction in our own will, namely, that a certain principle should be objectively necessary as a universal law, and yet subjectively should not be universal, but admit of exceptions. As, however, we at one moment regard our action from the point of view of a will wholly conformed to reason, and then again look at the same action from the point of view of a will affected by inclination, there is not really any contradiction, but an antagonism of inclination to the precept of reason, whereby the universality of the principle is changed into mere generality, so that the practical principle of reason shall meet the maxim half way. Now, although this cannot be justified in our own impartial judgement, yet it proves that we do really recognize the validity of the categorical imperative and (with all respect for it) only allow ourselves a few exceptions which we think unimportant and forced from us. ”