ごとではありませんでした
nuregotodewārimasendeshita

Noun
Desu Copula

The polite, past negative form of 濡れ事

1. It was not a lewd matter.; It was not indecent.

Past/Perfective
Negative
Polite
Formal Register