idiom
in the wrong
être responsable d'une erreur ou d'une mauvaise situation.
Meaning
to be responsible for a mistake or bad situation.
Example
He knew he was **in the wrong** for shouting at her.
Il savait qu'il avait tort de lui crier dessus.