Definition (justification)
To be in the right means to be morally or legally justified in one's actions or beliefs.
I am certain that I am in the right in this dispute.
She is convinced that she is in the right and refuses to listen to any alternative viewpoints.
After a thorough investigation, the committee found that he was in the right.