Mark 5:12
The demons begged Jesus, send us among the pigs; allow us to go into them — the demons' request to enter the pigs rather than be expelled to the abyss (their preferred outcome) reveals their hierarchy of preferences: staying in the region (verse 10), staying in any bodily host (verse 12), anything other than the abyss. The request to enter the pigs is granted not because Jesus approves of the outcome but because the ultimate result — the pigs' destruction and the man's liberation — serves the purpose of the exorcism. The demons get what they ask for and immediately lose what they entered.