Protesting for righteous causes is a practice that appears throughout Jewish sources, from Abraham's appeal that God spare the righteous people of Sodom, to discussions in rabbinic literature about the need to protest when one witnesses transgressions being committed.
Sources
A