do an injustice to (someone or something)
idiomDefinition 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.