This is the 2526th most frequent German word.
unrecht
"Unrecht" means "injustice" or "wrong."
Here, 'Unrecht' functions as a noun referring to injustice or wrongdoing perpetrated against someone.
Du hast mir Unrecht getan.
You did me wrong.
In this sentence, 'unrecht' is used as an adjective describing an action or state that is unjust or incorrect.
Es wäre unrecht, ihn zu beschuldigen.
It would be wrong to blame him.
Here, 'Unrecht haben' is a set phrase implying to be wrong or mistaken in one's actions or beliefs.