to fight against something or someone that is attacking you
The soldiers resisted (the enemy attacks) for two days.
Citizens may resist changes to longstanding policies.
The immune system helps the body resist infections.
It's essential to resist the temptation to compromise ethical principles.
Activists resist social injustice through peaceful demonstrations.