what's sauce for the goose, is sauce for the gander
What goes for the one, also goes for the other. — A proverb.
If Herb gets a speeding ticket, so should Erica, who was right behind him; after all, what's sauce for the goose is sauce for the gander.
Source: A Dictionary of American Idioms