proverb

Away goes the devil when he finds the door shut against him.

Theme: integrity Keyword: devil

means that

Temptation or wrongdoing may retreat when met with firm refusal.

Example

The dishonest broker stopped calling when she made clear that she would never accept his proposal.