Viet Cong’s success in reuniting Vietnam says otherwise.
Attacking villages, taking hostages, and using guerilla tactics (like both Viet Cong did and Hamas are doing) are just the most effective ways of driving out an occupying force, and they wouldn’t be necessary if the oppressors weren’t there in the first place.