in the right
Definitions
Acting in accordance with justice, law, or moral correctness.
Having a valid or justifiable position in a dispute or argument.
Examples
After reviewing the contract, the judge ruled that the company was in the right.
Even though he was angry, he knew deep down that his colleague was in the right regarding the project deadline.