On the contrary, history shows it to be one of the few effective methods.
You're saying that Rosa Parks was wrong when she refused to go to the back of the bus. The underground railroad was wrong for refusing to comply with fugitive slave laws. Ghandi was wrong for breaking the laws imposed by the British.
We live in a civilized society precisely because many people have disobeyed uncivilized laws. It's actually one of the hallmarks of our civilization that we can draw a distinction between what's right and what's legal.