idiom
in the wrong
ミスや悪い状況に責任があること。
Meaning
to be responsible for a mistake or bad situation.
Example
He knew he was **in the wrong** for shouting at her.
彼は彼女に怒鳴ったことが間違っていると知っていた。