do (someone or something) an injustice
idiomDefinition of do (someone or something) an injustice
: to treat (someone or something) in an unfair way
They did her a great/terrible/grave injustice by not allowing her to file a complaint. I think you do the book an injustice when you call it "trash."