つぎ ではありませんでした
tsuginomadewārimasendeshita

Noun
Desu Copula

The polite, past negative form of 次の間

1. It was not the next room.; It wasn't the next turn.

Past/Perfective
Negative
Polite
Formal Register