It is a thought provoking question. Take Gandhi, he succeeded because of British sensibilities, the same strategy wouldn’t have been as effective against the Nazis for example. A great deal of it depends on the adversary.
If colonised countries had not been actively(and violently) trying to get rid of their colonisers, the British Empire could have persisted indefinitely.
Violence is much more effective than non-violence in trying to get rid of any oppressor. Consider this: any State can deal with 5-10% of its population not working/paying taxes and "non-violently" resisting(these days even property crime can get you counted as a violent protestor). States would be much more hard pressed to deal with even 1% of their population in active, armed revolt against them.