Double standard

An ethical or moral code that applies more strictly to one group than to another