self-licensing
Noun
Meaning
The act of giving oneself permission or license to do something.
(psychology) The subconscious phenomenon where, having previously done a good deed, a person is more likely to allow themselves to act in an immoral way.
Source: en.wiktionary.org