do an injustice to (someone or something)

idiom

Definition of do an injustice to (someone or something)

: to treat (someone or something) in an unfair way The weak punishment does an injustice to the criminal's victims.