When people misbehave who believe in demons and devils, they can simply claim that Satan was to blame. Very convenient.
Evildoers who are just a little more sophisticated can take refuge in the argument laid out in this Chaospet comic.
That’s just one of the four panels. Whole thing here.