How to use "resist" in a sentence

Sentences

She was cold and hungry as she dragged the bucket behind her along the crowded street, but she could not resist stopping in front of one of the stalls

And the bottle of champagne that he knows she cannot resist.

He'd resist her affection, turn her away by picking a fight

"But will you be able to resist?"

"When you feel the urge to use the pen, you will not resist it