じょ がいではありませんでした
jogaidewārimasendeshita

Noun
Desu Copula

The polite, past negative form of 除害

1. Was not removing the harm.; Was not eliminating the nuisance.

Past/Perfective
Negative
Polite
Formal Register